DataMap dataMap1 = new DataMap();
dataMap1.put("foo", "1");
dataMap1.put("bar", "hello");
Set<Key> keys1 = new HashSet<Key>(2);
keys1.add(new Key("foo", Integer.class));
keys1.add(new Key("bar", String.class));
CompoundKey compoundKey2 = new CompoundKey();
compoundKey2.append("a", new Long(6));
compoundKey2.append("b", new Double(3.14));
DataMap dataMap2 = new DataMap();
dataMap2.put("a", "6");
dataMap2.put("b", "3.14");
Set<Key> keys2 = new HashSet<Key>(2);
keys2.add(new Key("a", Long.class));
keys2.add(new Key("b", Double.class));
return new Object[][]
{
{ compoundKey1, dataMap1, keys1 },
{ compoundKey2, dataMap2, keys2 }