public void ShouldNotBeCaseSensitiveWhenParsingTinyType() { Assert.That(CrossingType.From("PelIcan"), Is.EqualTo(CrossingType.Pelican)); }
public void ShouldIdentifyATinyTypeFromStringValue() { Assert.That(CrossingType.From("pelican"), Is.EqualTo(CrossingType.Pelican)); Assert.That(CrossingType.From("zebra"), Is.EqualTo(CrossingType.Zebra)); }