public void testSingleGetsOperationCloning() {
    GetsOperation.Callback callback =
        (GetsOperation.Callback) mock(GetsOperation.Callback.class).proxy();
    GetsOperation op = ofact.gets(TEST_KEY, callback);

    GetsOperation op2 = cloneOne(GetsOperation.class, op);
    assertKey(op2);
    assertSame(callback, op.getCallback());
  }
Get the operation factory used by the tests.
src/test/java/net/spy/memcached/OperationFactoryTestBase.java