public void CanParseReturnsExpectedResultWhenValueIsWellKnown() { var value = _knownValues[new Random().Next(0, _knownValues.Length)]; var result = RoadNodeType.CanParse(value); Assert.True(result); }
public void CanParseReturnsExpectedResultWhenValueIsUnknown() { var value = _fixture.Create <string>(); var result = RoadNodeType.CanParse(value); Assert.False(result); }
public void CanParseValueCanNotBeNull() { Assert.Throws <ArgumentNullException>(() => RoadNodeType.CanParse(null)); }