public void ToTypeTest() { double value = 10F; IConvertible target = new Time(value); Type conversionType = typeof(Double); IFormatProvider provider = null; object expected = new Time(value); object actual; actual = target.ToType(conversionType, provider); Assert.AreEqual(expected, actual); }