예제 #1
0
 public void then_Result_matches_SpecifiedOperand1_plus_SpecifiedOperand2()
 {
     Assert.AreEqual(this.SpecifiedOperand1 + this.SpecifiedOperand2, this.Result.Result);
 }
예제 #2
0
 public void then_ThrownException_is_ExceptionThrownBySum()
 {
     Assert.AreSame(this.ExceptionThrownBySum, this.ThrownException);
 }
예제 #3
0
 public void then_Default_TaskScheduler_is_of_type_TestTaskScheduler()
 {
     Assert.AreEqual("TestTaskScheduler", TaskScheduler.Default.GetType().Name);
 }
예제 #4
0
 public void then_ThrownException_is_null()
 {
     Assert.IsNull(this.ThrownException);
 }
예제 #5
0
 public void then_Calculator_is_InjectedCalculatorMock()
 {
     Assert.AreSame(this.InjectedCalculatorMock.Object, this.Sut.Calculator);
 }
예제 #6
0
 public void then_Result_matches_ReturnedSum()
 {
     Assert.AreEqual(this.ReturnedSum, this.Result);
 }
예제 #7
0
 public void TestPrerequisite()
 {
     Assert.IsNotNull(this.Sut);
 }
예제 #8
0
 public void then_MockException_is_not_thrown_on_test_fixture_teardown()
 {
     Assert.Pass();
 }
예제 #9
0
 public void then_MockSetupMethodNeverUsedException_is_thrown_on_test_fixture_teardown()
 {
     Assert.Pass();
 }
예제 #10
0
 public void then_MockNotVerifiedException_is_thrown_on_test_fixture_teardown()
 {
     Assert.Pass();
 }