public void Convert_ValueType_ParameterTrue()
 {
     var converter = new ReferenceToBooleanConverter();
     Assert.AreEqual(false, converter.Convert(1, typeof (bool), true, (CultureInfo)null));
 }
 public void Convert_ReferenceType_ParameterFalse()
 {
     var converter = new ReferenceToBooleanConverter();
     Assert.AreEqual(true, converter.Convert(new object(), typeof (bool), false, (CultureInfo)null));
 }
 public void Convert_Null_ParameterFalse()
 {
     var converter = new ReferenceToBooleanConverter();
     Assert.AreEqual(false, converter.Convert(null, typeof (bool), false, (CultureInfo)null));
 }