public When_Commands_Are_Available() { fixture .WithRegistrations(container => container.RegisterInstance(mockService)) .WithRegistrations(container => container.Register(typeof(IEventLogger <>), typeof(NullEventLogger <>))) .Container .AddCommands(discoveryContext: fixture.TestDependencyContext); }
public void RunBootstrappers_Does_Not_Fail() { fixture .WithRegistrations(container => container.Register <IEventLogger <IBootstrapper>, NullEventLogger <IBootstrapper> >()) .VerifyContainer() .Container .RunBootstrappers(); }