public void HasBad(string str, bool Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method bool result = WarmUp.HasBad(str); //assert testing result Assert.AreEqual(Expected, result); }