@Test
void equals()
{

    AbstractExtension extension = toExtension("id", "version");
    AbstractExtension cloneExtension = new TestExtension(extension);
    assertEquals(extension, cloneExtension);
    cloneExtension.setCategory("othercategory");
    assertEquals(extension, cloneExtension);
    AbstractExtension extensionWithDifferentId = toExtension("otherid", "version");
    assertNotEquals(extension, extensionWithDifferentId);
    AbstractExtension extensionWithDifferentVersion = toExtension("id", "otherversion");
    assertNotEquals(extension, extensionWithDifferentVersion);
}