public void TestScanUsingGenericsInvalidState_Error() { using (Context context = new Context()) { context.Start(); context.Scan<TestClass1>(); } }