@Test
public void testGetAllExtensions() {

    final Set<String> bucketIds = new HashSet<>();
    bucketIds.add("1");
    bucketIds.add("2");
    bucketIds.add("3");
    final List<ExtensionEntity> extensions = metadataService.getExtensions(bucketIds, null);
    assertNotNull(extensions);
    assertEquals(3, extensions.size());
}