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