public void CheckSplitPhrase_ReturnNumberOfMatches_Int() { //Arrange string testWord = "The"; string testPhrase = "The Cat walked down THe street to THE store."; RepeatCounter testCounter = new RepeatCounter(); testCounter.SetTargetWord(testWord); testCounter.SetSplitCompareString(testPhrase); //Act int result = testCounter.CheckSplitPhrase(); //Assert Assert.AreEqual(3, result); }