protected override void OnBeforeTearDown(string testName) { if (testQuery != null) testQuery.Dispose(); base.OnBeforeTearDown(testName); }