public void SplitCompareString_ReturnStringArray_String() { //Arrange string testPhrase = "The cat is walking"; RepeatCounter testCounter = new RepeatCounter(); //Act testCounter.SetSplitCompareString(testPhrase); string[] resultArray = testCounter.GetComparePhrase(); //Assert Assert.AreEqual(4, resultArray.Length); }