@Test(expected = AecuException.class)
public void execute_invalidFileName() throws AecuException {

    Resource resource = mock(Resource.class);
    when(resolver.getResource(DIR)).thenReturn(resource);
    when(resource.getName()).thenReturn("invalid");
    service.execute(DIR);
}