assertEquals(0, storage.getLockRetryCount());
}
@Test
public void testLimitFavourites() {
UserIdentifier userId = new UserIdentifier(UUID.randomUUID());
QueryFavourites history = new QueryFavourites();
{
for (int i = 0; i < 50; i++) {
CqlQuery query = new CqlQuery(CqlQueryType.SELECT, "select * from MyTable where id=" + i);
assertTrue(history.addWithSizeCheck(new QueryEntry(query, 234)));