public virtual bool MoveNext() { bool result = source.MoveNext(); if (result == false && environmentProvider != null) { environmentProvider.DisposeAll(); } return(result); }
/// <exception cref="System.Exception"></exception> public override void TearDown() { _environmentProvider.DisposeAll(); base.TearDown(); }