public void Given_TraceWriter_Property_ShouldNotThrow_Exception() { var logger = new FakeTraceWriter(); var result = LoggerTypeValidator.ValidateLoggerType(logger); result.Should().BeTrue(); }
public void Given_ILogger_Property_ShouldNotThrow_Exception() { var logger = new Mock <ILogger>(); var result = LoggerTypeValidator.ValidateLoggerType(logger.Object); result.Should().BeTrue(); }
public void Given_InvalidType_ValidateLoggerType_ShouldReturn_False() { var logger = new FakeClass(); var result = LoggerTypeValidator.ValidateLoggerType(logger); result.Should().BeFalse(); }