@Test
public void testGetExtensionByIdWhenHasAdditionalDetails() {

    final ExtensionEntity extension = metadataService.getExtensionById("e3");
    assertNotNull(extension);
    assertEquals("e3", extension.getId());
    assertTrue(extension.getHasAdditionalDetails());
}