@Test
public void removeAllWithSetNotInCacheTest() {

    cache.removeAll(Stream.of(key1, key2).collect(Collectors.toSet()));
    try (RepositoryConnection connection = repo.getConnection()) {
        assertEquals(0, connection.size());
    }
}