public void OptionsPageCustomTestInitialize() { optionsPageCustom = new OptionsPageCustom(); }
/// <summary> /// Clean up any resources being used. /// </summary> protected virtual void Dispose(bool disposing) { if (disposing) { if (optionsPageCustom!= null) { optionsPageCustom = null; } GC.SuppressFinalize(this); } }
public void OptionsPageCustomTestCleanup() { optionsPageCustom = null; }
public void OptionsPageTest() { OptionsCompositeControl target = compositeControl; OptionsPageCustom expectedValue = new OptionsPageCustom(); target.OptionsPage = expectedValue; Assert.AreEqual(expectedValue, target.OptionsPage, "OptionsPage property was initialized by unexpected value."); }