public void When_ConcatenatingRotatorWithCapac_ThenShould_ReturnRotatorCapac() { var values = new string[] { "rotator", "capac" }; var result = StringService.Concatenate(values); Assert.IsTrue(result == "rotatorcapac"); }
public void When_ConcatenateCalledWithNotEmptyArgument_ThenShould_ReturnConcatenateStrings() { var values = new[] { "rotator", "capac" }; var result = StringService.Concatenate(values); Assert.IsTrue(result == "rotatorcapac"); }
public void When_ConcatenateCalledWithAListOfStrings_ThenShould_ReturnTheListConcatenated() { var values = new string[] { "rotator", "capac" }; var result = StringService.Concatenate(values); Assert.IsTrue(result == "rotatorcapac"); }
public void When_ConcatenateCalledWithEmptyArgument_ThenShould_ReturnEmptyArray() { var result = StringService.Concatenate(); Assert.IsTrue(result == ""); }