public void convert_back_value_returns_unset_value() { var converter = new ExpressionConverter(); Assert.Same(System.Windows.DependencyProperty.UnsetValue, converter.ConvertBack("abc", (Type)null, null, null)); Assert.Same(System.Windows.DependencyProperty.UnsetValue, converter.ConvertBack(123, (Type)null, null, null)); }
public void convert_back_values_returns_null() { var converter = new ExpressionConverter(); Assert.Null(converter.ConvertBack(10, new Type[] { typeof(int), typeof(string) }, null, null)); }
public void convert_back_values_returns_null() { var converter = new ExpressionConverter(); Assert.Null(converter.ConvertBack(10, new Type[] { typeof(int), typeof(string) }, null, null)); }
public void convert_back_value_returns_unset_value() { var converter = new ExpressionConverter(); Assert.Same(System.Windows.DependencyProperty.UnsetValue, converter.ConvertBack("abc", (Type)null, null, null)); Assert.Same(System.Windows.DependencyProperty.UnsetValue, converter.ConvertBack(123, (Type)null, null, null)); }