public void testMultipleEntriesWithSameHashCode() throws Exception {
Person one = new Person("Mircea", "Markus", 28);
Person two = new Person("Manik", "Surtani", 28);
one.setHashCode(100);
two.setHashCode(100);
cacheStore.write(new MarshalledEntryImpl(one, "value", null, getMarshaller()));
assertBinaryRowCount(1);
assertStringsRowCount(0);
cacheStore.write(new MarshalledEntryImpl(two, "otherValue",null, getMarshaller()));
assertBinaryRowCount(1); //both go to same bucket
assertStringsRowCount(0);
assert cacheStore.load(one).getValue().equals("value");
assert cacheStore.load(two).getValue().equals("otherValue");
}