public void Dispose() { if (_testCollection != null) { _testCollection.Dispose(); _testCollection = null; } }