public void TestsetDateFormatStr01() { DateTimeFormatter dateTimeFormatter = DateTimeFormatterFactory.CreateDateTimeFormatter01(); string formatStr = "DD-MM-YY"; //Test Procedure Call dateTimeFormatter.setDateFormatStr(formatStr); //Post condition Check Accessor dateTimeFormatteraccessor = ReflectionAccessor.Wrap(dateTimeFormatter); Assert.AreEqual(formatStr, dateTimeFormatteraccessor.GetField("m_DateFormatStr")); }
public void TestDateTimeFormatterConstructor01() { DateTimeFormatter dateTimeFormatter = DateTimeFormatterFactory.CreateDateTimeFormatter01(); }