public void TestScanUsingTypeInvalidState_Error() { using (Context context = new Context()) { context.Start(); context.Scan(typeof(TestClass1)); } }