public static void Should_ReturnDefaultMapStyle_IfStringDoesNotMatch() { var mapStyleType = "obviouslyNotAValidOne"; var mapStyle = MapStyle.FromString(mapStyleType); Assert.Equal(default, mapStyle);
public static void Should_ReturnMapStyleFromString(string mapStyleType) { var mapStyle = MapStyle.FromString(mapStyleType); Assert.Equal(mapStyleType, mapStyle.ToString()); }