public void Dispose() { int queryCount = TestHelper.GetQueryCacheCount(base.EdmModel); if (queryCount != -1) { Xunit.Assert.InRange(_queryCount, _queryCount, queryCount); } }