### Question:
StatementCommons { public static <K extends Statement, V> Map<K,V> newQuadrupleMap() { return new FastMap<>(equivalenceEquality(quadrupleEquivalence())); }  static Equivalence<Statement> tripleEquivalence(); static Equivalence<Statement> quadrupleEquivalence(); static Set<T> newTripleSet(); static Set<T> newQuadrupleSet(); static Map<K,V> newTripleMap(); static Map<K,V> newQuadrupleMap();  }### Answer:
@Test public void testQuadrupleMap() { Map<Statement, String> map = StatementCommons.newQuadrupleMap(); String s1 = RandomStringUtils.random(8); String s2 = RandomStringUtils.random(8); String s3 = RandomStringUtils.random(8); map.put(stmt1, s1); Assert.assertNotEquals(s1, map.get(stmt2)); map.put(stmt2,s2); Assert.assertEquals(2, map.size()); Assert.assertEquals(s1, map.get(stmt1)); Assert.assertFalse(map.containsKey(stmt3)); map.put(stmt3,s3); Assert.assertEquals(3, map.size()); }