public void ToInt32Test() { IConvertible target = new Time(10F); IFormatProvider provider = null; int expected = 10; int actual; actual = target.ToInt32(provider); Assert.AreEqual(expected, actual); }