### Question:
CompactionQueue extends ConcurrentSkipListMap<byte[], Boolean> { KeyValue compact(final ArrayList<KeyValue> row) { final KeyValue[] compacted = {null}; compact(row, compacted); return compacted[0]; } CompactionQueue(final TSDB tsdb); @Override int size(); void add(final byte[] row); Deferred<ArrayList<Object>> flush();  }### Answer:
@Test public void emptyRow() throws Exception { ArrayList<KeyValue> kvs = new ArrayList<KeyValue>(0); compactionq.compact(kvs); verify(tsdb, never()).put(anyBytes(), anyBytes(), anyBytes()); verify(tsdb, never()).delete(anyBytes(), any(byte[][].class)); }