public void ThenTheTwoTextSamplesAreTreatedAsDifferent()
        {
            LogAssert.IsTrue("Text samples are different", !this.isEqual);

            this.ExpectedException.MessageShouldContainText = NotEqualExceptionMessage;
            Try(() => this.textTester.AssertActualTextEqualsExpectedText());
            MyMockRepository.VerifyAll();

            AssertExpectedException();
        }
Exemple #2
0
 public void AfterScenario()
 {
     Logger.Log();
     Logger.Log("Verifying all mock expectations were met");
     MyMockRepository.VerifyAll();
 }