public void ParseFromGlddScowVesselNumber_Invalid_ThrowOutOfRangeException() { int glddScowVesselNumber = 0; var parser = new ScowSeriesParser(); Assert.Throws <ArgumentOutOfRangeException>( "glddScowVesselNumber", () => parser.ParseFromGlddScowVesselNumber(glddScowVesselNumber)); }
public void ParseFromGlddScowVesselNumber_Valid_ReturnExpected( int scowSeriesNumber, ScowSeries expectedScowSeries) { var parser = new ScowSeriesParser(); var actualScowSeries = parser.ParseFromGlddScowVesselNumber(scowSeriesNumber); Assert.Same(expectedScowSeries, actualScowSeries); }