@Test
public void testGetExtensionBundlesByBucketAndGroup() {

    final List<BundleEntity> bundles = metadataService.getBundlesByBucketAndGroup("3", "org.apache.nifi");
    assertNotNull(bundles);
    assertEquals(2, bundles.size());
    final List<BundleEntity> bundles2 = metadataService.getBundlesByBucketAndGroup("3", "does-not-exist");
    assertNotNull(bundles2);
    assertEquals(0, bundles2.size());
}