public IEnumerator ShouldShowNotificationSpeedStreak() { pc.SetSpeed(50); ps.ShowNotificationIfOnSpeedStreak(); yield return(new WaitForSeconds(TestConstants.WAIT_TIME)); Assert.AreEqual("50 Speed Streak!", ph.GetPowerupNotificationText().text); }