public void ThenTheTwoTextSamplesAreTreatedAsDifferent() { LogAssert.IsTrue("Text samples are different", !this.isEqual); this.ExpectedException.MessageShouldContainText = NotEqualExceptionMessage; Try(() => this.textTester.AssertActualTextEqualsExpectedText()); MyMockRepository.VerifyAll(); AssertExpectedException(); }
public void AfterScenario() { Logger.Log(); Logger.Log("Verifying all mock expectations were met"); MyMockRepository.VerifyAll(); }