public OpenConferenceHandlerTests(ITestOutputHelper outputHelper) { _logger = outputHelper.CreateLogger <OpenConferenceHandler>(); _openConferenceRepository = new Mock <IOpenConferenceRepository>(); _mediator = new Mock <IMediator>(); }
public static ILogger CreateLogger <T>(ITestOutputHelper output, LoggingSettings settings = null) { EnsureArg.IsNotNull(output, nameof(output)); return(output.CreateLogger <T>(settings)); }
public static ILogger CreateLogger(ITestOutputHelper output, LoggingSettings settings = null, [CallerMemberName] string memberName = null) { EnsureArg.IsNotNull(output, nameof(output)); return(output.CreateLogger(settings, memberName)); }
public XUnitTestBase(ITestOutputHelper output) { Output = output; Logger = Output.CreateLogger(GetType().Name); }