public void Should_write_warning_information_with_exception_to_log() { CreateSUT().Warning(ExpectedMessage, ExpectedException); _log.AssertWasCalled(x => x.Warn(ExpectedMessage, ExpectedException)); }