@Test
public void testDeleteMarkerForAllCellsInFamilyWithExactTimestamp() {

  long timestamp = 10000L;
  Predicate<Cell> predicate =
      predicateMaker.apply(
          HBaseCellUtils.deleteMarkerForAllCellsInFamilyWithExactTimestamp(
              ROW_KEY, COLUMN_FAMILY, timestamp));
  List<Cell> allCells =
      Lists.newArrayList(
          HBaseCellUtils.createDataCell(ROW_KEY, COLUMN_FAMILY, QUALIFIER, timestamp),
          HBaseCellUtils.createDataCell(ROW_KEY, COLUMN_FAMILY, ANOTHER_QUALIFIER, timestamp),
          HBaseCellUtils.createDataCell(ROW_KEY, COLUMN_FAMILY, QUALIFIER, timestamp - 1),
          HBaseCellUtils.createDataCell(ROW_KEY, COLUMN_FAMILY, ANOTHER_QUALIFIER, timestamp - 1),
          HBaseCellUtils.createDataCell(ROW_KEY, COLUMN_FAMILY, QUALIFIER, timestamp + 1),
          HBaseCellUtils.createDataCell(
              ROW_KEY, COLUMN_FAMILY, ANOTHER_QUALIFIER, timestamp + 1));
  Set<Cell> expected = Sets.newHashSet(allCells.get(0), allCells.get(1));
  assertEquals(expected, Sets.newHashSet(Iterables.filter(allCells, predicate)));
}