@Test
public void testApplyFormat()
{

    assertNull(this.fileInfo.applyFormat(null));
    String badDate = "bad";
    assertEquals(badDate,this.fileInfo.applyFormat(badDate));
    assertEquals("2014-01-21",this.fileInfo.applyFormat("140121"));
}