public void Convert_NotPriority() { var expectedBrush = new SolidColorBrush(); var converter = new PriorityToBrushConverter() { MediumBrush = expectedBrush }; var actualBrush = converter.Convert(new object(), null, null, null); Assert.AreSame(expectedBrush, actualBrush); }
public void Convert_Low() { var expectedBrush = new SolidColorBrush(); var converter = new PriorityToBrushConverter() { LowBrush = expectedBrush }; var actualBrush = converter.Convert(Priority.Low, null, null, null); Assert.AreSame(expectedBrush, actualBrush); }