public void ToFormatedStringTest() { TimeSpan time = new TimeSpan(10, 5, 39); string expected = "10:05:39"; string actual; actual = TimeHelpers.ToFormatedString(time); Assert.AreEqual(expected, actual); }