assertInitialState = function() {
    assertEquals(2, env.cache.getCount());

    assertTrue(pkIndex.containsKey(rowToModifyOld.payload()['id']));
    assertTrue(pkIndex.containsKey(rowToRemove.payload()['id']));
    assertFalse(pkIndex.containsKey(rowToInsert.payload()['id']));

    assertTrue(rowIdIndex.containsKey(rowToModifyOld.id()));
    assertTrue(rowIdIndex.containsKey(rowToRemove.id()));
    assertFalse(rowIdIndex.containsKey(rowToInsert.id()));

    var row = env.cache.get(rowToModifyOld.id());
    assertEquals(
        rowToModifyOld.payload()['name'],
        row.payload()['name']);
  }
Asserts the initial state of the cache and indices.