@Test(dataProvider = "inputEmptyImages", expectedExceptions = IOException.class)
public void testFindFiles_EmptyQuery(String query, String org) throws Exception {

    gitHubUtil = mock(GitHubUtil.class);
    GHContentSearchBuilder ghContentSearchBuilder = mock(GHContentSearchBuilder.class);
    PagedSearchIterable<GHContent> list = mock(PagedSearchIterable.class);
    when(list.getTotalCount()).thenReturn(0);
    when(ghContentSearchBuilder.list()).thenReturn(list);
    when(gitHubUtil.startSearch()).thenReturn(ghContentSearchBuilder);
    dockerfileGitHubUtil = new DockerfileGitHubUtil(gitHubUtil);
    dockerfileGitHubUtil.findFilesWithImage(query, org);
}