### Question:
DynamoDBCompressedObjectPersister implements ObjectPersister<T> { @Override public void delete(String identifier) { AmazonDynamoDB client = AWSDynamoDBFactory.getAmazonDynamoDB(); DeleteItemRequest deleteItemRequest = new DeleteItemRequest(); deleteItemRequest.setKey(getKey(identifier)); deleteItemRequest.setTableName(tableName); client.deleteItem(deleteItemRequest); } DynamoDBCompressedObjectPersister(String tableName,
            String persistenceKeyFieldName, AWSDynamoDBFactory AWSDynamoDBFactory, Class<T> clazz); void setZlibUtil(ZlibUtil zlibUtil); @Override DataObjectFeed<T> retrieve(List<Query> queries); @Override T retrieve(String identifier); @Override T persist(T object); @Override T update(T object); @Override void delete(String identifier); String getPersistenceKeyFieldName(); String getTableName(); void setIdGenerator(IdGenerator idGenerator); static final String DATA_BLOB; }### Answer:
@Test public void testDelete() { objectPersister.delete(TEST_ITEM_ID); verify(mockAmazonDynamoDB, times(1)).deleteItem(any(DeleteItemRequest.class)); }