@Test
public void testAcceptShouldReturnTrueWhenParameterFileAndNameMatchWithRegExp() {

    //GIVEN
    String fileName = "20130701132107.0025req.txt";
    given(file.isFile()).willReturn(true);
    given(file.getName()).willReturn(fileName);
    //WHEN
    boolean result = underTest.accept(file);
    //THEN
    assertTrue(result);
}