/// <exception cref="System.Exception"></exception> private void CheckConcurrencyMethod(AbstractDb4oTestCase toTest, string testMethodName ) { MethodInfo checkMethod = CheckMethodFor(toTest.GetType(), testMethodName); if (null == checkMethod) { return; } // pass ExtObjectContainer as a param to check method IExtObjectContainer oc = Fixture().Db(); try { checkMethod.Invoke(toTest, new object[] { oc }); } finally { oc.Close(); } }
/// <exception cref="System.Exception"></exception> private void CheckConcurrencyMethod(AbstractDb4oTestCase toTest, string testMethodName ) { var checkMethod = CheckMethodFor(toTest.GetType(), testMethodName); if (null == checkMethod) { return; } // pass ExtObjectContainer as a param to check method var oc = Fixture().Db(); try { checkMethod.Invoke(toTest, new object[] {oc}); } finally { oc.Close(); } }