public void AddTextToList_HaveTextFromClipboard_ShouldHaveNewItemInList() { SetText("Adding item to directory."); var firstCopy = _clipboardService.AddTextToList(_clipboardService.GetTextFromClipboard()); Assert.AreEqual(1, firstCopy.Count); Assert.AreEqual("Adding item to directory.", firstCopy.First()); SetText("Second item to directory."); var secondCopy = _clipboardService.AddTextToList(_clipboardService.GetTextFromClipboard()); Assert.AreEqual(2, secondCopy.Count); Assert.AreEqual("Second item to directory.", secondCopy[0]); }