@Test
public void removeAllTest() {

    cache.put(key1, ontNoImports);
    cache.put(key2, ontOneImport);
    cache.removeAll();
    try (RepositoryConnection connection = repo.getConnection()) {
        assertEquals(0, connection.size());
    }
}