public void Parse_should_throw_an_ArgumentException_when_value_is_not_a_valid_end_point(string value) { Action act = () => EndPointParser.Parse(value); act.ShouldThrow <ArgumentException>(); }
public void Parse_should_throw_an_ArgumentNullException_when_value_is_null() { Action act = () => EndPointParser.Parse(null); act.ShouldThrow <ArgumentNullException>(); }