public void SplitCommentToList_ReturnsListSplitOnPipe() { //Arrange List <String> Expected = new List <String> { "a", "bbb", "cccc" }; String Input = "A String /*a|bbb|cccc*/"; LineProcessor LineProcessor = new LineProcessor(Input); //Act List <String> Actual = LineProcessor.SplitCommentToList(); //Assert Assert.AreEqual(Expected, Actual); }