public void CanGetAndSetProperties() { var moduleAttribute = new ModuleAttribute(); moduleAttribute.ModuleName = "Test"; moduleAttribute.StartupLoaded = false; Assert.AreEqual("Test", moduleAttribute.ModuleName); Assert.AreEqual(false, moduleAttribute.StartupLoaded); }
public void CanGetAndSetProperties() { var moduleAttribute = new ModuleAttribute(); moduleAttribute.ModuleName = "Test"; moduleAttribute.OnDemand = true; Assert.AreEqual("Test", moduleAttribute.ModuleName); Assert.AreEqual(true, moduleAttribute.OnDemand); }
public void StartupLoadedDefaultsToTrue() { var moduleAttribute = new ModuleAttribute(); Assert.AreEqual(true, moduleAttribute.StartupLoaded); }
public void StartupLoadedDefaultsToTrue() { var moduleAttribute = new ModuleAttribute(); Assert.AreEqual(false, moduleAttribute.OnDemand); }