public void Convert_Green() { var converter = new ColorToBrushConverter(); Assert.AreEqual(new SolidColorBrush(Colors.Green).ToString(), converter.Convert(Colors.Green, typeof (Brush), null, (CultureInfo)null).ToString()); }
public void Convert_Null() { var converter = new ColorToBrushConverter(); Assert.AreEqual(null, converter.Convert(null, typeof (Brush), null, (CultureInfo)null)); }