public void Should_create_null_trace_log_instance_when_error_tracing_is_deactivated() { // Given this.factory = CreateFactory(false); // When var trace = this.factory.Create(this.request); // Then trace.TraceLog.ShouldNotBeNull(); trace.TraceLog.ShouldBeOfType<NullLog>(); }
public DefaultRequestTraceFactoryFixture() { this.factory = CreateFactory(); this.request = CreateRequest(); }