@Test
public void testGetExtensionBundleVersionByBundleIdAndVersion() {

    final BundleVersionEntity bundleVersion = metadataService.getBundleVersion("eb1", "1.0.0");
    assertNotNull(bundleVersion);
    assertEquals("eb1-v1", bundleVersion.getId());
    assertEquals("eb1", bundleVersion.getBundleId());
    assertEquals("1.0.0", bundleVersion.getVersion());
    assertNotNull(bundleVersion.getCreated());
    assertEquals("user1", bundleVersion.getCreatedBy());
    assertEquals("First version of eb1", bundleVersion.getDescription());
    assertTrue(bundleVersion.getSha256Supplied());
    assertEquals(1024, bundleVersion.getContentSize());
}