@Test
public void testGetExtensionByName() {

    final ExtensionEntity entity = metadataService.getExtensionByName("eb1-v1", "org.apache.nifi.ExampleProcessor");
    assertNotNull(entity);
    assertEquals("org.apache.nifi.ExampleProcessor", entity.getName());
    assertEquals("eb1-v1", entity.getBundleVersionId());
}