}
public void testEquals() throws Exception
{
String nettyVersion = "netty";
VersionImpl version = new VersionImpl("HORNETQ", 2, 0, 1, 10, "suffix", nettyVersion, new int[]{7,8,9,10});
VersionImpl sameVersion = new VersionImpl("HORNETQ", 2, 0, 1, 10, "suffix", nettyVersion, new int[]{7,8,9,10});
VersionImpl differentVersion = new VersionImpl("HORNETQ", 2, 0, 1, 11, "suffix", nettyVersion, new int[]{7,8,9,10,11});
Assert.assertFalse(version.equals(new Object()));
Assert.assertTrue(version.equals(version));
Assert.assertTrue(version.equals(sameVersion));