public ResultsViewModel(MainViewModel baseViewModel) { MyBaseViewModel = baseViewModel; HighlightTermBehavior = new HighlightTermBehavior(); }
public void Split_in_to_be_highlighted_and_not_to_be_highlighted_parts(string inputText, string [] expectedTextParts) { var textParts = HighlightTermBehavior.SplitTextIntoTermAndNotTermParts(inputText, "1"); textParts.Should().BeEquivalentTo(expectedTextParts); }