public static void Should_ReturnDefaultSymbolLayerPlacement_IfStringDoesNotMatch() { var symbolLayerPlacementType = "obviouslyNotAValidOne"; var symbolLayerPlacement = SymbolLayerPlacement.FromString(symbolLayerPlacementType); Assert.Equal(default, symbolLayerPlacement);
public static void Should_ReturnSymbolLayerPlacementFromString(string symbolLayerPlacementType) { var symbolLayerPlacement = SymbolLayerPlacement.FromString(symbolLayerPlacementType); Assert.Equal(symbolLayerPlacementType, symbolLayerPlacement.ToString()); }