@Test
public void checkGetAllArtifact(){

    final RepositoryHandler repositoryHandler = mock(RepositoryHandler.class);
    final ArtifactHandler handler = new ArtifactHandler(repositoryHandler, mock(LicenseMatcher.class));
    final FiltersHolder filtersHolder = mock(FiltersHolder.class);
    handler.getArtifacts(filtersHolder);
    verify(repositoryHandler, times(1)).getArtifacts(filtersHolder);
}