private static Logger logger=LoggerFactory.getLogger(BasicProtostuffSingleThreadedTest.class);
@Test public void goOverTheLimitWithProtostuff() {
int limit = 10;
CacheStore store = new CacheStore(limit, 1 * 1024 * 1024, 1);
store.serializer = new ProtoStuffSerializer();
for (int i = 1; i <= limit * 2; i++) {
DummyPojo pojo = new DummyPojo("test" + 1, 1024);
store.put("test" + i, pojo);
if (i <= limit) {
assertEquals(store.heapEntriesCount(), i);