public void TestRegisterUsingTypeComponentName_Error() { using (Context context = new Context()) { context.Register(typeof(TestComponentNameClass1)).Register(typeof(TestComponentNameClass2)); } }