public void TurnOnTest() { _a = new FlashLight(); Assert.AreEqual(_a.IsOn, false); //assuming that it is not already on at first _a.TurnON(); Assert.AreEqual(_a.IsOn, true); }