public int GetNumbersCount_ParametersAreValid_ReturnsCharsCount(string str) { // Act return(DoWhileMethods.GetDigitCount(str)); }
public void GetNumbersCount_StrIsNull_ThrowsException() { // Act Assert.Throws <ArgumentNullException>(() => DoWhileMethods.GetDigitCount(null)); }