public void ConvertBack_Green() { var converter = new ColorToBrushConverter(); Assert.AreEqual(Colors.Green.ToString(), converter.ConvertBack(new SolidColorBrush(Colors.Green), typeof (Color), null, (CultureInfo)null).ToString()); }
public void ConvertBack_Null() { var converter = new ColorToBrushConverter(); Assert.AreEqual(Colors.Black.ToString(), converter.ConvertBack(null, typeof (Color), null, (CultureInfo)null).ToString()); }