@Test
public void testCheck_noTestData() {

  when(directory.listFiles()).thenReturn(new File[] {});
  try {
    checker.check(directory);
    Assert.fail();
  } catch (AppException e) {
    Assert.assertEquals(e, new AppException("No test data."));
  }
}