@Test
public void testCreateInstallable() {

    final PackageId expectParentId = PackageId.fromString("test");
    final String expectJcrPath = "/some/package/path.zip";
    final PackageId expectEmbeddedId = PackageId.fromString("testtest");
    EmbeddedPackageInstallableParams params = new EmbeddedPackageInstallableParams(expectEmbeddedId);
    EmbeddedPackageInstallable installable = params.createInstallable(expectParentId, expectJcrPath);
    assertSame("expect same parentId", expectParentId, installable.getParentId());
    assertSame("expect same jcrPath", expectJcrPath, installable.getJcrPath());
    assertSame("expect same embeddedId", expectEmbeddedId, installable.getEmbeddedId());
}