public void testConcatenationOperationAppendCloning() {
    long casId = 82757248;
    ConcatenationOperation op = ofact.cat(ConcatenationType.append, casId,
        TEST_KEY, testData, genericCallback);

    ConcatenationOperation op2 = cloneOne(ConcatenationOperation.class, op);
    assertKey(op2);
    assertSame(ConcatenationType.append, op2.getStoreType());
    assertCallback(op2);
  }
Get the operation factory used by the tests.
src/test/java/net/spy/memcached/OperationFactoryTestBase.java