public void ParseShouldThrowWhenNumberIsInvalid(string value) { Assert.Throws <FormatException>(() => PhoneNumber.Parse(value)); }
public void ParseWithValidNumber(string value) { var number = PhoneNumber.Parse(value); Assert.Equal("256700192133", number); }