public void RegisterConfiguration_NullConfiguration()
 {
     var builder = new ContainerBuilder();
     var registrar = new ConfigurationRegistrar();
     Assert.Throws<ArgumentNullException>(() => registrar.RegisterConfiguration(builder, null));
 }
 public void RegisterConfiguration_NullBuilder()
 {
     var configuration = new Mock<IConfiguration>();
     var registrar = new ConfigurationRegistrar();
     Assert.Throws<ArgumentNullException>(() => registrar.RegisterConfiguration(null, configuration.Object));
 }