public void TestThatFormatUtilsReturnsCorrectlyFormattedTextForEndWithDateTimeOption() { Assert.AreEqual(TEST_MESSAGE, FormatUtils.FormatEndWithDateTime(TEST_MESSAGE).Substring(0, TEST_MESSAGE.Length)); Assert.AreEqual(TEST_MESSAGE.Length + dateTimeLength + 1, FormatUtils.FormatEndWithDateTime(TEST_MESSAGE).Length); }