public void Log_ExceptionIsValidationException_DoesNotLogError() { // arrange var logger = new FakeLogger(); var exception = new ValidationException("Something is not right"); // act exception.Log(logger); // assert Assert.Equal(0, logger.LogCallCount); }