public void TestNullColorConverter3() { NullColorConverter conv = new NullColorConverter(); object output = conv.Convert(this, null, null, null); Assert.IsNotNull(output); Assert.IsTrue(output is Brush); Assert.Equals(output, Application.Current.Resources["PhoneTextBoxForegroundColor"]); }
public void TestNullColorConverter1() { NullColorConverter conv = new NullColorConverter(); object output = conv.ConvertBack(null, null, null, null); Assert.IsNull(output); }
public void TestNullColorConverter2() { NullColorConverter conv = new NullColorConverter(); object output = conv.Convert(null, null, null, null); Assert.IsNotNull(output); Assert.IsTrue(output is Brush); Assert.Equals(output, Application.Current.Resources["PhoneAccentBrush"]); }