@Test
public void shouldDownloadableWithNonEqualNameEqualsDownloadable() throws MalformedURLException {
// pre-coniditions
// operation
// verification
assertThat(new EmbeddableCartridge("redhat", new URL(CartridgeTestUtils.FOREMAN_URL)))
.isEqualTo(new EmbeddableCartridge(null, new URL(CartridgeTestUtils.FOREMAN_URL)));
// should equal if url is equal, name doesnt matter
// (name is updated as soon as cartridge is deployed)
assertThat(new EmbeddableCartridge("jboss", new URL(CartridgeTestUtils.FOREMAN_URL)))
.isEqualTo(new EmbeddableCartridge("redhat", new URL(CartridgeTestUtils.FOREMAN_URL)));
}