}
@Test
public void testEquals() {
VersionFactory factory = VersionFactory.instance();
final Version expected = factory.getVersion(SWITCHYARD_COMMON);
Version actual = factory.getVersion(Projects.create("org.switchyard", "switchyard-common"));
assertEquals(expected, actual);
actual = factory.getVersion(SWITCHYARD, new Query(PROJECT_ARTIFACT_ID, "switchyard-common"));
assertEquals(expected, actual);
actual = factory.getVersion(new Query(SPECIFICATION_TITLE, "SwitchYard: Common"));
assertEquals(expected, actual);