public void testDeleteOperationCloning() {
    DeleteOperation op = ofact.delete(TEST_KEY, deleteCallback);

    DeleteOperation op2 = cloneOne(DeleteOperation.class, op);
    assertEquals(TEST_KEY, op2.getKeys().iterator().next());
    assertDeleteCallback(op2);
  }
Get the operation factory used by the tests.
src/test/java/net/spy/memcached/OperationFactoryTestBase.java