@Test
public void testGetAllExtensionsFilteredWithNoBuckets() {

    final Set<String> bucketIds = new HashSet<>();
    final ExtensionFilterParams filterParams = new ExtensionFilterParams.Builder()
            .extensionType(ExtensionType.CONTROLLER_SERVICE)
            .bundleType(BundleType.NIFI_NAR)
            .tag("SERVICE")
            .tag("example")
            .build();
    final List<ExtensionEntity> extensions = metadataService.getExtensions(bucketIds, filterParams);
    assertNotNull(extensions);
    assertEquals(0, extensions.size());
}