@Test public void testQuad() { Quad<String, String, String, String> o1 = new Quad<String, String, String, String>(); o1.setEast("east"); o1.setSouth("south"); o1.setWest("west"); o1.setNorth("north"); Quad<String, String, String, String> o2 = new Quad<String, String, String, String>("east", "south", "west", "north"); Assert.assertEquals(o1, o2); Assert.assertEquals(o1.hashCode(), o2.hashCode()); Assert.assertEquals(o1.toString(), o2.toString()); }