@Test
public void testFindFiles()
{

    String timeInMillis = this.getDateTimeInMillis();
    assertNull( FileUtil.findFiles( tmpDir, null ) );
    assertNull( FileUtil.findFiles( null, timeInMillis ) );
    File[] files = FileUtil.findFiles( tmpDir, timeInMillis );
    assertNull( files );
    File f = new File( FilenameUtils.concat( tmpDir, "file." + timeInMillis ) );
    try
    {
        f.createNewFile();
        files = FileUtil.findFiles( tmpDir, timeInMillis );
        assertNotNull( files );
        assertTrue( files.length == 1 );
    }
    catch ( IOException e )
    {
    }
    finally
    {
        if ( f.exists() )
        {
            f.delete();
        }
    }
}