public void RunAction() { //Arrange StringService myService = new StringService(); GingerAction GA = new GingerAction(); List <string> list = new List <string>() { "How", "Are", "You" }; //Act myService.ConcatList(GA, "#", list); //assert Assert.AreEqual(null, GA.Errors, "Errors=null"); Assert.AreEqual("How#Are#You", GA.Output["txt"], "txt"); }