@Test
public void testResolveBucketIdWhenIdIsSet() throws Exception {

    C2NiFiRegistryClient client = createC2NiFiRegistryClient(BUCKET_ID, null);
    assertEquals(BUCKET_ID, client.resolveNiFiRegistryBucketId().get());
}