public void BuildingContainerWithRegisteredTypeWithPrivateConstructorShouldThrow()
{
var builder = new ContainerBuilder();
builder.RegisterType<PublicClassWithPrivateConstructor>().As<ILogger>();
Assert.Throws<ArgumentException>(() => builder.Build());
}