public IEnumerator ShouldTurnOff() { notificationIcon.TurnOff(); yield return(new WaitForSeconds(TestConstants.WAIT_TIME)); Assert.AreEqual(false, notificationIcon.isActiveAndEnabled); }