public void GetLongestStringShouldBeCorrect(string longest, params string[] values) { // arrange var c = new StringCollection(values); // act var result = c.GetLongestString(); // assert Assert.Equal(longest, result); }
public void GetLongestStringWithEmptyShouldReturnNull() { // arrange var c = new StringCollection(); // act var result = c.GetLongestString(); // assert Assert.Null(result); }