  @Test
  public void testMixedDeletes() throws Exception {

    HLog.Entry[] entries = new HLog.Entry[3];
    for(int i = 0; i < 3; i++) {
      entries[i] = createEntry(TABLE_NAME1, i, KeyValue.Type.Put);
    }
    SINK.replicateEntries(entries);
    entries = new HLog.Entry[3];

    entries[0] = createEntry(TABLE_NAME1, 0, KeyValue.Type.DeleteColumn);
    entries[1] = createEntry(TABLE_NAME1, 1, KeyValue.Type.DeleteFamily);
    entries[2] = createEntry(TABLE_NAME1, 2, KeyValue.Type.DeleteColumn);

    SINK.replicateEntries(entries);

    Scan scan = new Scan();
    ResultScanner scanRes = table1.getScanner(scan);
    assertEquals(0, scanRes.next(3).length);
  }