public void GetNamesFromEmptyStringReturnsEmptyArray() { var res = CommonParser.GetNames(string.Empty); Assert.AreEqual(0, res.Length); }
public void GetNamesFromStringReturnsArray(int count, string namesString) { var res = CommonParser.GetNames(namesString); Assert.AreEqual(count, res.Length); }
public void GetNamesFromNullThrowsException() { Assert.Throws <ArgumentNullException>(() => { CommonParser.GetNames(null); }); }