Search in sources :

Example 31 with SafeBuffer

use of com.hazelcast.client.impl.protocol.util.SafeBuffer in project hazelcast by hazelcast.

the class ClientCompatibilityNullTest_1_4 method test.

@org.junit.Test
public void test() throws IOException {
    InputStream input = getClass().getResourceAsStream("/1.4.protocol.compatibility.null.binary");
    DataInputStream inputStream = new DataInputStream(input);
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeRequest(aString, aString, null, null, aBoolean, aString, aByte, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCodec.ResponseParameters params = ClientAuthenticationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aByte, params.status));
        assertTrue(isEqual(null, params.address));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertTrue(isEqual(aString, params.serverHazelcastVersion));
        assertTrue(isEqual(null, params.clientUnregisteredMembers));
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeRequest(aData, null, null, aBoolean, aString, aByte, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCustomCodec.ResponseParameters params = ClientAuthenticationCustomCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aByte, params.status));
        assertTrue(isEqual(null, params.address));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertTrue(isEqual(aString, params.serverHazelcastVersion));
        assertTrue(isEqual(null, params.clientUnregisteredMembers));
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddMembershipListenerCodec.ResponseParameters params = ClientAddMembershipListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddMembershipListenerCodecHandler extends ClientAddMembershipListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.core.Member member, int eventType) {
                assertTrue(isEqual(aMember, member));
                assertTrue(isEqual(anInt, eventType));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.core.Member> members) {
                assertTrue(isEqual(members, members));
            }

            @Override
            public void handle(java.lang.String uuid, java.lang.String key, int operationType, java.lang.String value) {
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(aString, key));
                assertTrue(isEqual(anInt, operationType));
                assertTrue(isEqual(null, value));
            }
        }
        ClientAddMembershipListenerCodecHandler handler = new ClientAddMembershipListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientCreateProxyCodec.ResponseParameters params = ClientCreateProxyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientDestroyProxyCodec.ResponseParameters params = ClientDestroyProxyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetPartitionsCodec.ResponseParameters params = ClientGetPartitionsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aPartitionTable, params.partitions));
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveAllListenersCodec.ResponseParameters params = ClientRemoveAllListenersCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddPartitionLostListenerCodec.ResponseParameters params = ClientAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddPartitionLostListenerCodecHandler extends ClientAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, int lostBackupCount, com.hazelcast.nio.Address source) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(anInt, lostBackupCount));
                assertTrue(isEqual(null, source));
            }
        }
        ClientAddPartitionLostListenerCodecHandler handler = new ClientAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemovePartitionLostListenerCodec.ResponseParameters params = ClientRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetDistributedObjectsCodec.ResponseParameters params = ClientGetDistributedObjectsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(distributedObjectInfos, params.response));
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddDistributedObjectListenerCodec.ResponseParameters params = ClientAddDistributedObjectListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddDistributedObjectListenerCodecHandler extends ClientAddDistributedObjectListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, java.lang.String serviceName, java.lang.String eventType) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(aString, serviceName));
                assertTrue(isEqual(aString, eventType));
            }
        }
        ClientAddDistributedObjectListenerCodecHandler handler = new ClientAddDistributedObjectListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveDistributedObjectListenerCodec.ResponseParameters params = ClientRemoveDistributedObjectListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientPingCodec.ResponseParameters params = ClientPingCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutCodec.ResponseParameters params = MapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetCodec.ResponseParameters params = MapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveCodec.ResponseParameters params = MapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceCodec.ResponseParameters params = MapReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeRequest(aString, aData, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceIfSameCodec.ResponseParameters params = MapReplaceIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsKeyCodec.ResponseParameters params = MapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsValueCodec.ResponseParameters params = MapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveIfSameCodec.ResponseParameters params = MapRemoveIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapDeleteCodec.ResponseParameters params = MapDeleteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFlushCodec.ResponseParameters params = MapFlushCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryRemoveCodec.ResponseParameters params = MapTryRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryPutCodec.ResponseParameters params = MapTryPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutTransientCodec.ResponseParameters params = MapPutTransientCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutIfAbsentCodec.ResponseParameters params = MapPutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSetCodec.ResponseParameters params = MapSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLockCodec.ResponseParameters params = MapLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryLockCodec.ResponseParameters params = MapTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsLockedCodec.ResponseParameters params = MapIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapUnlockCodec.ResponseParameters params = MapUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddInterceptorCodec.ResponseParameters params = MapAddInterceptorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveInterceptorCodec.ResponseParameters params = MapRemoveInterceptorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyWithPredicateCodec.ResponseParameters params = MapAddEntryListenerToKeyWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerToKeyWithPredicateCodecHandler extends MapAddEntryListenerToKeyWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerToKeyWithPredicateCodecHandler handler = new MapAddEntryListenerToKeyWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerWithPredicateCodec.ResponseParameters params = MapAddEntryListenerWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerWithPredicateCodecHandler extends MapAddEntryListenerWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerWithPredicateCodecHandler handler = new MapAddEntryListenerWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyCodec.ResponseParameters params = MapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerToKeyCodecHandler extends MapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerToKeyCodecHandler handler = new MapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeRequest(aString, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerCodec.ResponseParameters params = MapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerCodecHandler extends MapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerCodecHandler handler = new MapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddNearCacheEntryListenerCodec.ResponseParameters params = MapAddNearCacheEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddNearCacheEntryListenerCodecHandler extends MapAddNearCacheEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(aString, sourceUuid));
                assertTrue(isEqual(aUUID, partitionUuid));
                assertTrue(isEqual(aLong, sequence));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(datas, keys));
                assertTrue(isEqual(strings, sourceUuids));
                assertTrue(isEqual(uuids, partitionUuids));
                assertTrue(isEqual(longs, sequences));
            }
        }
        MapAddNearCacheEntryListenerCodecHandler handler = new MapAddNearCacheEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveEntryListenerCodec.ResponseParameters params = MapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddPartitionLostListenerCodec.ResponseParameters params = MapAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddPartitionLostListenerCodecHandler extends MapAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, java.lang.String uuid) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(aString, uuid));
            }
        }
        MapAddPartitionLostListenerCodecHandler handler = new MapAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemovePartitionLostListenerCodec.ResponseParameters params = MapRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetEntryViewCodec.ResponseParameters params = MapGetEntryViewCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictCodec.ResponseParameters params = MapEvictCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictAllCodec.ResponseParameters params = MapEvictAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadAllCodec.ResponseParameters params = MapLoadAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeRequest(aString, datas, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadGivenKeysCodec.ResponseParameters params = MapLoadGivenKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetCodec.ResponseParameters params = MapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetAllCodec.ResponseParameters params = MapGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesCodec.ResponseParameters params = MapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntrySetCodec.ResponseParameters params = MapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPredicateCodec.ResponseParameters params = MapKeySetWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPredicateCodec.ResponseParameters params = MapValuesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPredicateCodec.ResponseParameters params = MapEntriesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeRequest(aString, aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddIndexCodec.ResponseParameters params = MapAddIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSizeCodec.ResponseParameters params = MapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsEmptyCodec.ResponseParameters params = MapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeRequest(aString, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutAllCodec.ResponseParameters params = MapPutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearCodec.ResponseParameters params = MapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeyCodec.ResponseParameters params = MapExecuteOnKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSubmitToKeyCodec.ResponseParameters params = MapSubmitToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnAllKeysCodec.ResponseParameters params = MapExecuteOnAllKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeRequest(aString, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteWithPredicateCodec.ResponseParameters params = MapExecuteWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeRequest(aString, aData, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeysCodec.ResponseParameters params = MapExecuteOnKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapForceUnlockCodec.ResponseParameters params = MapForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPagingPredicateCodec.ResponseParameters params = MapKeySetWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPagingPredicateCodec.ResponseParameters params = MapValuesWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPagingPredicateCodec.ResponseParameters params = MapEntriesWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeRequest(aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearNearCacheCodec.ResponseParameters params = MapClearNearCacheCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchKeysCodec.ResponseParameters params = MapFetchKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchEntriesCodec.ResponseParameters params = MapFetchEntriesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = MapAggregateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAggregateCodec.ResponseParameters params = MapAggregateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapAggregateWithPredicateCodec.encodeRequest(aString, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAggregateWithPredicateCodec.ResponseParameters params = MapAggregateWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapProjectCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapProjectCodec.ResponseParameters params = MapProjectCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapProjectWithPredicateCodec.encodeRequest(aString, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapProjectWithPredicateCodec.ResponseParameters params = MapProjectWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapFetchNearCacheInvalidationMetadataCodec.encodeRequest(strings, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchNearCacheInvalidationMetadataCodec.ResponseParameters params = MapFetchNearCacheInvalidationMetadataCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aNamePartitionSequenceList, params.namePartitionSequenceList));
        assertTrue(isEqual(aPartitionUuidList, params.partitionUuidList));
    }
    {
        ClientMessage clientMessage = MapAssignAndGetUuidsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAssignAndGetUuidsCodec.ResponseParameters params = MapAssignAndGetUuidsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aPartitionUuidList, params.partitionUuidList));
    }
    {
        ClientMessage clientMessage = MapRemoveAllCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveAllCodec.ResponseParameters params = MapRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapAddNearCacheInvalidationListenerCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddNearCacheInvalidationListenerCodec.ResponseParameters params = MapAddNearCacheInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddNearCacheInvalidationListenerCodecHandler extends MapAddNearCacheInvalidationListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(aString, sourceUuid));
                assertTrue(isEqual(aUUID, partitionUuid));
                assertTrue(isEqual(aLong, sequence));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(datas, keys));
                assertTrue(isEqual(strings, sourceUuids));
                assertTrue(isEqual(uuids, partitionUuids));
                assertTrue(isEqual(longs, sequences));
            }
        }
        MapAddNearCacheInvalidationListenerCodecHandler handler = new MapAddNearCacheInvalidationListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapPutCodec.ResponseParameters params = MultiMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapGetCodec.ResponseParameters params = MultiMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveCodec.ResponseParameters params = MultiMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapKeySetCodec.ResponseParameters params = MultiMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValuesCodec.ResponseParameters params = MultiMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapEntrySetCodec.ResponseParameters params = MultiMapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsKeyCodec.ResponseParameters params = MultiMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsValueCodec.ResponseParameters params = MultiMapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsEntryCodec.ResponseParameters params = MultiMapContainsEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapSizeCodec.ResponseParameters params = MultiMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapClearCodec.ResponseParameters params = MultiMapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValueCountCodec.ResponseParameters params = MultiMapValueCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerToKeyCodec.ResponseParameters params = MultiMapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MultiMapAddEntryListenerToKeyCodecHandler extends MultiMapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MultiMapAddEntryListenerToKeyCodecHandler handler = new MultiMapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerCodec.ResponseParameters params = MultiMapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MultiMapAddEntryListenerCodecHandler extends MultiMapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MultiMapAddEntryListenerCodecHandler handler = new MultiMapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryListenerCodec.ResponseParameters params = MultiMapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapLockCodec.ResponseParameters params = MultiMapLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapTryLockCodec.ResponseParameters params = MultiMapTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapIsLockedCodec.ResponseParameters params = MultiMapIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapUnlockCodec.ResponseParameters params = MultiMapUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapForceUnlockCodec.ResponseParameters params = MultiMapForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryCodec.ResponseParameters params = MultiMapRemoveEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueOfferCodec.ResponseParameters params = QueueOfferCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePutCodec.ResponseParameters params = QueuePutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueSizeCodec.ResponseParameters params = QueueSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveCodec.ResponseParameters params = QueueRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePollCodec.ResponseParameters params = QueuePollCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueTakeCodec.ResponseParameters params = QueueTakeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePeekCodec.ResponseParameters params = QueuePeekCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIteratorCodec.ResponseParameters params = QueueIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToCodec.ResponseParameters params = QueueDrainToCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToMaxSizeCodec.ResponseParameters params = QueueDrainToMaxSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsCodec.ResponseParameters params = QueueContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsAllCodec.ResponseParameters params = QueueContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRemoveAllCodec.ResponseParameters params = QueueCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRetainAllCodec.ResponseParameters params = QueueCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueClearCodec.ResponseParameters params = QueueClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddAllCodec.ResponseParameters params = QueueAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddListenerCodec.ResponseParameters params = QueueAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class QueueAddListenerCodecHandler extends QueueAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        QueueAddListenerCodecHandler handler = new QueueAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveListenerCodec.ResponseParameters params = QueueRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemainingCapacityCodec.ResponseParameters params = QueueRemainingCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIsEmptyCodec.ResponseParameters params = QueueIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicPublishCodec.ResponseParameters params = TopicPublishCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicAddMessageListenerCodec.ResponseParameters params = TopicAddMessageListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class TopicAddMessageListenerCodecHandler extends TopicAddMessageListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, long publishTime, java.lang.String uuid) {
                assertTrue(isEqual(aData, item));
                assertTrue(isEqual(aLong, publishTime));
                assertTrue(isEqual(aString, uuid));
            }
        }
        TopicAddMessageListenerCodecHandler handler = new TopicAddMessageListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicRemoveMessageListenerCodec.ResponseParameters params = TopicRemoveMessageListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSizeCodec.ResponseParameters params = ListSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsCodec.ResponseParameters params = ListContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsAllCodec.ResponseParameters params = ListContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddCodec.ResponseParameters params = ListAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveCodec.ResponseParameters params = ListRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllCodec.ResponseParameters params = ListAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRemoveAllCodec.ResponseParameters params = ListCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRetainAllCodec.ResponseParameters params = ListCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListClearCodec.ResponseParameters params = ListClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetAllCodec.ResponseParameters params = ListGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddListenerCodec.ResponseParameters params = ListAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ListAddListenerCodecHandler extends ListAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        ListAddListenerCodecHandler handler = new ListAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveListenerCodec.ResponseParameters params = ListRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIsEmptyCodec.ResponseParameters params = ListIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeRequest(aString, anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllWithIndexCodec.ResponseParameters params = ListAddAllWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetCodec.ResponseParameters params = ListGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSetCodec.ResponseParameters params = ListSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddWithIndexCodec.ResponseParameters params = ListAddWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveWithIndexCodec.ResponseParameters params = ListRemoveWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListLastIndexOfCodec.ResponseParameters params = ListLastIndexOfCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIndexOfCodec.ResponseParameters params = ListIndexOfCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeRequest(aString, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSubCodec.ResponseParameters params = ListSubCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIteratorCodec.ResponseParameters params = ListIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListListIteratorCodec.ResponseParameters params = ListListIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetSizeCodec.ResponseParameters params = SetSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsCodec.ResponseParameters params = SetContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsAllCodec.ResponseParameters params = SetContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddCodec.ResponseParameters params = SetAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveCodec.ResponseParameters params = SetRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddAllCodec.ResponseParameters params = SetAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRemoveAllCodec.ResponseParameters params = SetCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRetainAllCodec.ResponseParameters params = SetCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetClearCodec.ResponseParameters params = SetClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetGetAllCodec.ResponseParameters params = SetGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddListenerCodec.ResponseParameters params = SetAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class SetAddListenerCodecHandler extends SetAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        SetAddListenerCodecHandler handler = new SetAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveListenerCodec.ResponseParameters params = SetRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetIsEmptyCodec.ResponseParameters params = SetIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedCodec.ResponseParameters params = LockIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedByCurrentThreadCodec.ResponseParameters params = LockIsLockedByCurrentThreadCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetLockCountCodec.ResponseParameters params = LockGetLockCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetRemainingLeaseTimeCodec.ResponseParameters params = LockGetRemainingLeaseTimeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeRequest(aString, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockLockCodec.ResponseParameters params = LockLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeRequest(aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockUnlockCodec.ResponseParameters params = LockUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockForceUnlockCodec.ResponseParameters params = LockForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeRequest(aString, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockTryLockCodec.ResponseParameters params = LockTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeRequest(aString, aLong, aLong, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionAwaitCodec.ResponseParameters params = ConditionAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeRequest(aString, aLong, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionBeforeAwaitCodec.ResponseParameters params = ConditionBeforeAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeRequest(aString, aLong, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalCodec.ResponseParameters params = ConditionSignalCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeRequest(aString, aLong, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalAllCodec.ResponseParameters params = ConditionSignalAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceShutdownCodec.ResponseParameters params = ExecutorServiceShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceIsShutdownCodec.ResponseParameters params = ExecutorServiceIsShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnPartitionCodec.ResponseParameters params = ExecutorServiceCancelOnPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeRequest(aString, anAddress, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnAddressCodec.ResponseParameters params = ExecutorServiceCancelOnAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeRequest(aString, aString, aData, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToPartitionCodec.ResponseParameters params = ExecutorServiceSubmitToPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeRequest(aString, aString, aData, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToAddressCodec.ResponseParameters params = ExecutorServiceSubmitToAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongApplyCodec.ResponseParameters params = AtomicLongApplyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterCodec.ResponseParameters params = AtomicLongAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterAndGetCodec.ResponseParameters params = AtomicLongAlterAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAlterCodec.ResponseParameters params = AtomicLongGetAndAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAddAndGetCodec.ResponseParameters params = AtomicLongAddAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeRequest(aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongCompareAndSetCodec.ResponseParameters params = AtomicLongCompareAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongDecrementAndGetCodec.ResponseParameters params = AtomicLongDecrementAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetCodec.ResponseParameters params = AtomicLongGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAddCodec.ResponseParameters params = AtomicLongGetAndAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndSetCodec.ResponseParameters params = AtomicLongGetAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongIncrementAndGetCodec.ResponseParameters params = AtomicLongIncrementAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndIncrementCodec.ResponseParameters params = AtomicLongGetAndIncrementCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongSetCodec.ResponseParameters params = AtomicLongSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceApplyCodec.ResponseParameters params = AtomicReferenceApplyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterCodec.ResponseParameters params = AtomicReferenceAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterAndGetCodec.ResponseParameters params = AtomicReferenceAlterAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndAlterCodec.ResponseParameters params = AtomicReferenceGetAndAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceContainsCodec.ResponseParameters params = AtomicReferenceContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeRequest(aString, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceCompareAndSetCodec.ResponseParameters params = AtomicReferenceCompareAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetCodec.ResponseParameters params = AtomicReferenceGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetCodec.ResponseParameters params = AtomicReferenceSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceClearCodec.ResponseParameters params = AtomicReferenceClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndSetCodec.ResponseParameters params = AtomicReferenceGetAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetAndGetCodec.ResponseParameters params = AtomicReferenceSetAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceIsNullCodec.ResponseParameters params = AtomicReferenceIsNullCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchAwaitCodec.ResponseParameters params = CountDownLatchAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchCountDownCodec.ResponseParameters params = CountDownLatchCountDownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchGetCountCodec.ResponseParameters params = CountDownLatchGetCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchTrySetCountCodec.ResponseParameters params = CountDownLatchTrySetCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreInitCodec.ResponseParameters params = SemaphoreInitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAcquireCodec.ResponseParameters params = SemaphoreAcquireCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAvailablePermitsCodec.ResponseParameters params = SemaphoreAvailablePermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreDrainPermitsCodec.ResponseParameters params = SemaphoreDrainPermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReducePermitsCodec.ResponseParameters params = SemaphoreReducePermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReleaseCodec.ResponseParameters params = SemaphoreReleaseCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeRequest(aString, anInt, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreTryAcquireCodec.ResponseParameters params = SemaphoreTryAcquireCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutCodec.ResponseParameters params = ReplicatedMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapSizeCodec.ResponseParameters params = ReplicatedMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapIsEmptyCodec.ResponseParameters params = ReplicatedMapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsKeyCodec.ResponseParameters params = ReplicatedMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsValueCodec.ResponseParameters params = ReplicatedMapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapGetCodec.ResponseParameters params = ReplicatedMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveCodec.ResponseParameters params = ReplicatedMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeRequest(aString, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutAllCodec.ResponseParameters params = ReplicatedMapPutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapClearCodec.ResponseParameters params = ReplicatedMapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.ResponseParameters params = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler extends ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler handler = new ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerWithPredicateCodec.ResponseParameters params = ReplicatedMapAddEntryListenerWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerWithPredicateCodecHandler extends ReplicatedMapAddEntryListenerWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerWithPredicateCodecHandler handler = new ReplicatedMapAddEntryListenerWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyCodec.ResponseParameters params = ReplicatedMapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerToKeyCodecHandler extends ReplicatedMapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerToKeyCodecHandler handler = new ReplicatedMapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerCodec.ResponseParameters params = ReplicatedMapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerCodecHandler extends ReplicatedMapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerCodecHandler handler = new ReplicatedMapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveEntryListenerCodec.ResponseParameters params = ReplicatedMapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapKeySetCodec.ResponseParameters params = ReplicatedMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapValuesCodec.ResponseParameters params = ReplicatedMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapEntrySetCodec.ResponseParameters params = ReplicatedMapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddNearCacheEntryListenerCodec.ResponseParameters params = ReplicatedMapAddNearCacheEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddNearCacheEntryListenerCodecHandler extends ReplicatedMapAddNearCacheEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddNearCacheEntryListenerCodecHandler handler = new ReplicatedMapAddNearCacheEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceCancelCodec.ResponseParameters params = MapReduceCancelCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceJobProcessInformationCodec.ResponseParameters params = MapReduceJobProcessInformationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(jobPartitionStates, params.jobPartitionStates));
        assertTrue(isEqual(anInt, params.processRecords));
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMapCodec.ResponseParameters params = MapReduceForMapCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForListCodec.ResponseParameters params = MapReduceForListCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForSetCodec.ResponseParameters params = MapReduceForSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMultiMapCodec.ResponseParameters params = MapReduceForMultiMapCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeRequest(aString, aString, null, aData, null, null, aData, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForCustomCodec.ResponseParameters params = MapReduceForCustomCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapContainsKeyCodec.ResponseParameters params = TransactionalMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetCodec.ResponseParameters params = TransactionalMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetForUpdateCodec.ResponseParameters params = TransactionalMapGetForUpdateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSizeCodec.ResponseParameters params = TransactionalMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapIsEmptyCodec.ResponseParameters params = TransactionalMapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutCodec.ResponseParameters params = TransactionalMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSetCodec.ResponseParameters params = TransactionalMapSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutIfAbsentCodec.ResponseParameters params = TransactionalMapPutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceCodec.ResponseParameters params = TransactionalMapReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceIfSameCodec.ResponseParameters params = TransactionalMapReplaceIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveCodec.ResponseParameters params = TransactionalMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapDeleteCodec.ResponseParameters params = TransactionalMapDeleteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveIfSameCodec.ResponseParameters params = TransactionalMapRemoveIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetCodec.ResponseParameters params = TransactionalMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetWithPredicateCodec.ResponseParameters params = TransactionalMapKeySetWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesCodec.ResponseParameters params = TransactionalMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesWithPredicateCodec.ResponseParameters params = TransactionalMapValuesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapPutCodec.ResponseParameters params = TransactionalMultiMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapGetCodec.ResponseParameters params = TransactionalMultiMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveCodec.ResponseParameters params = TransactionalMultiMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveEntryCodec.ResponseParameters params = TransactionalMultiMapRemoveEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapValueCountCodec.ResponseParameters params = TransactionalMultiMapValueCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapSizeCodec.ResponseParameters params = TransactionalMultiMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetAddCodec.ResponseParameters params = TransactionalSetAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetRemoveCodec.ResponseParameters params = TransactionalSetRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetSizeCodec.ResponseParameters params = TransactionalSetSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListAddCodec.ResponseParameters params = TransactionalListAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListRemoveCodec.ResponseParameters params = TransactionalListRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListSizeCodec.ResponseParameters params = TransactionalListSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeRequest(aString, aString, aLong, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueOfferCodec.ResponseParameters params = TransactionalQueueOfferCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueTakeCodec.ResponseParameters params = TransactionalQueueTakeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeRequest(aString, aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePollCodec.ResponseParameters params = TransactionalQueuePollCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeRequest(aString, aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePeekCodec.ResponseParameters params = TransactionalQueuePeekCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueSizeCodec.ResponseParameters params = TransactionalQueueSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddEntryListenerCodec.ResponseParameters params = CacheAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddEntryListenerCodecHandler extends CacheAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int type, java.util.Collection<com.hazelcast.cache.impl.CacheEventData> keys, int completionId) {
                assertTrue(isEqual(anInt, type));
                assertTrue(isEqual(cacheEventDatas, keys));
                assertTrue(isEqual(anInt, completionId));
            }
        }
        CacheAddEntryListenerCodecHandler handler = new CacheAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddInvalidationListenerCodec.ResponseParameters params = CacheAddInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddInvalidationListenerCodecHandler extends CacheAddInvalidationListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, sourceUuid));
                assertTrue(isEqual(aUUID, partitionUuid));
                assertTrue(isEqual(aLong, sequence));
            }

            @Override
            public void handle(java.lang.String name, java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(datas, keys));
                assertTrue(isEqual(null, sourceUuids));
                assertTrue(isEqual(uuids, partitionUuids));
                assertTrue(isEqual(longs, sequences));
            }
        }
        CacheAddInvalidationListenerCodecHandler handler = new CacheAddInvalidationListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheClearCodec.ResponseParameters params = CacheClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeRequest(aString, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllKeysCodec.ResponseParameters params = CacheRemoveAllKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllCodec.ResponseParameters params = CacheRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheContainsKeyCodec.ResponseParameters params = CacheContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeRequest(aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheCreateConfigCodec.ResponseParameters params = CacheCreateConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheDestroyCodec.ResponseParameters params = CacheDestroyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeRequest(aString, aData, aData, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheEntryProcessorCodec.ResponseParameters params = CacheEntryProcessorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeRequest(aString, datas, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAllCodec.ResponseParameters params = CacheGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeRequest(aString, aData, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndRemoveCodec.ResponseParameters params = CacheGetAndRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeRequest(aString, aData, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndReplaceCodec.ResponseParameters params = CacheGetAndReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetConfigCodec.ResponseParameters params = CacheGetConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeRequest(aString, aData, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetCodec.ResponseParameters params = CacheGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateCodec.ResponseParameters params = CacheIterateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeRequest(aString, aData, aBoolean, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheListenerRegistrationCodec.ResponseParameters params = CacheListenerRegistrationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeRequest(aString, datas, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheLoadAllCodec.ResponseParameters params = CacheLoadAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeRequest(aString, aBoolean, aBoolean, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheManagementConfigCodec.ResponseParameters params = CacheManagementConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeRequest(aString, aData, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutIfAbsentCodec.ResponseParameters params = CachePutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeRequest(aString, aData, aData, null, aBoolean, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutCodec.ResponseParameters params = CachePutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveEntryListenerCodec.ResponseParameters params = CacheRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveInvalidationListenerCodec.ResponseParameters params = CacheRemoveInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeRequest(aString, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveCodec.ResponseParameters params = CacheRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeRequest(aString, aData, null, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheReplaceCodec.ResponseParameters params = CacheReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheSizeCodec.ResponseParameters params = CacheSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddPartitionLostListenerCodec.ResponseParameters params = CacheAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddPartitionLostListenerCodecHandler extends CacheAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, java.lang.String uuid) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(aString, uuid));
            }
        }
        CacheAddPartitionLostListenerCodecHandler handler = new CacheAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemovePartitionLostListenerCodec.ResponseParameters params = CacheRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeRequest(aString, aListOfEntry, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutAllCodec.ResponseParameters params = CachePutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateEntriesCodec.ResponseParameters params = CacheIterateEntriesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = CacheAddNearCacheInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddNearCacheInvalidationListenerCodec.ResponseParameters params = CacheAddNearCacheInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddNearCacheInvalidationListenerCodecHandler extends CacheAddNearCacheInvalidationListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, sourceUuid));
                assertTrue(isEqual(aUUID, partitionUuid));
                assertTrue(isEqual(aLong, sequence));
            }

            @Override
            public void handle(java.lang.String name, java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(datas, keys));
                assertTrue(isEqual(null, sourceUuids));
                assertTrue(isEqual(uuids, partitionUuids));
                assertTrue(isEqual(longs, sequences));
            }
        }
        CacheAddNearCacheInvalidationListenerCodecHandler handler = new CacheAddNearCacheInvalidationListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheFetchNearCacheInvalidationMetadataCodec.encodeRequest(strings, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheFetchNearCacheInvalidationMetadataCodec.ResponseParameters params = CacheFetchNearCacheInvalidationMetadataCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aNamePartitionSequenceList, params.namePartitionSequenceList));
        assertTrue(isEqual(aPartitionUuidList, params.partitionUuidList));
    }
    {
        ClientMessage clientMessage = CacheAssignAndGetUuidsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAssignAndGetUuidsCodec.ResponseParameters params = CacheAssignAndGetUuidsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aPartitionUuidList, params.partitionUuidList));
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeRequest(anXid);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionClearRemoteCodec.ResponseParameters params = XATransactionClearRemoteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCollectTransactionsCodec.ResponseParameters params = XATransactionCollectTransactionsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeRequest(anXid, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionFinalizeCodec.ResponseParameters params = XATransactionFinalizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCommitCodec.ResponseParameters params = XATransactionCommitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeRequest(anXid, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCreateCodec.ResponseParameters params = XATransactionCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionPrepareCodec.ResponseParameters params = XATransactionPrepareCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionRollbackCodec.ResponseParameters params = XATransactionRollbackCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCommitCodec.ResponseParameters params = TransactionCommitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeRequest(aLong, anInt, anInt, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCreateCodec.ResponseParameters params = TransactionCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionRollbackCodec.ResponseParameters params = TransactionRollbackCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateWithValueCodec.ResponseParameters params = ContinuousQueryPublisherCreateWithValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateCodec.ResponseParameters params = ContinuousQueryPublisherCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryMadePublishableCodec.ResponseParameters params = ContinuousQueryMadePublishableCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryAddListenerCodec.ResponseParameters params = ContinuousQueryAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ContinuousQueryAddListenerCodecHandler extends ContinuousQueryAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.map.impl.querycache.event.QueryCacheEventData data) {
                assertTrue(isEqual(aQueryCacheEventData, data));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.map.impl.querycache.event.QueryCacheEventData> events, java.lang.String source, int partitionId) {
                assertTrue(isEqual(queryCacheEventDatas, events));
                assertTrue(isEqual(aString, source));
                assertTrue(isEqual(anInt, partitionId));
            }
        }
        ContinuousQueryAddListenerCodecHandler handler = new ContinuousQueryAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQuerySetReadCursorCodec.ResponseParameters params = ContinuousQuerySetReadCursorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryDestroyCacheCodec.ResponseParameters params = ContinuousQueryDestroyCacheCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferSizeCodec.ResponseParameters params = RingbufferSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferTailSequenceCodec.ResponseParameters params = RingbufferTailSequenceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferHeadSequenceCodec.ResponseParameters params = RingbufferHeadSequenceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferCapacityCodec.ResponseParameters params = RingbufferCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferRemainingCapacityCodec.ResponseParameters params = RingbufferRemainingCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddCodec.ResponseParameters params = RingbufferAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadOneCodec.ResponseParameters params = RingbufferReadOneCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeRequest(aString, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddAllCodec.ResponseParameters params = RingbufferAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeRequest(aString, aLong, anInt, anInt, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadManyCodec.ResponseParameters params = RingbufferReadManyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.readCount));
        assertTrue(isEqual(datas, params.items));
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorShutdownCodec.ResponseParameters params = DurableExecutorShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorIsShutdownCodec.ResponseParameters params = DurableExecutorIsShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorSubmitToPartitionCodec.ResponseParameters params = DurableExecutorSubmitToPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveResultCodec.ResponseParameters params = DurableExecutorRetrieveResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorDisposeResultCodec.ResponseParameters params = DurableExecutorDisposeResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveAndDisposeResultCodec.ResponseParameters params = DurableExecutorRetrieveAndDisposeResultCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorAddCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CardinalityEstimatorAddCodec.ResponseParameters params = CardinalityEstimatorAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorEstimateCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CardinalityEstimatorEstimateCodec.ResponseParameters params = CardinalityEstimatorEstimateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorShutdownCodec.encodeRequest(aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorShutdownCodec.ResponseParameters params = ScheduledExecutorShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToPartitionCodec.encodeRequest(aString, aByte, aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorSubmitToPartitionCodec.ResponseParameters params = ScheduledExecutorSubmitToPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorSubmitToAddressCodec.encodeRequest(aString, anAddress, aByte, aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorSubmitToAddressCodec.ResponseParameters params = ScheduledExecutorSubmitToAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetAllScheduledFuturesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorGetAllScheduledFuturesCodec.ResponseParameters params = ScheduledExecutorGetAllScheduledFuturesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(taskHandlers, params.handlers));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromPartitionCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorGetStatsFromPartitionCodec.ResponseParameters params = ScheduledExecutorGetStatsFromPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.lastIdleTimeNanos));
        assertTrue(isEqual(aLong, params.totalIdleTimeNanos));
        assertTrue(isEqual(aLong, params.totalRuns));
        assertTrue(isEqual(aLong, params.totalRunTimeNanos));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetStatsFromAddressCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorGetStatsFromAddressCodec.ResponseParameters params = ScheduledExecutorGetStatsFromAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.lastIdleTimeNanos));
        assertTrue(isEqual(aLong, params.totalIdleTimeNanos));
        assertTrue(isEqual(aLong, params.totalRuns));
        assertTrue(isEqual(aLong, params.totalRunTimeNanos));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromPartitionCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorGetDelayFromPartitionCodec.ResponseParameters params = ScheduledExecutorGetDelayFromPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetDelayFromAddressCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorGetDelayFromAddressCodec.ResponseParameters params = ScheduledExecutorGetDelayFromAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromPartitionCodec.encodeRequest(aString, aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorCancelFromPartitionCodec.ResponseParameters params = ScheduledExecutorCancelFromPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorCancelFromAddressCodec.encodeRequest(aString, aString, anAddress, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorCancelFromAddressCodec.ResponseParameters params = ScheduledExecutorCancelFromAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromPartitionCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorIsCancelledFromPartitionCodec.ResponseParameters params = ScheduledExecutorIsCancelledFromPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsCancelledFromAddressCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorIsCancelledFromAddressCodec.ResponseParameters params = ScheduledExecutorIsCancelledFromAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromPartitionCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorIsDoneFromPartitionCodec.ResponseParameters params = ScheduledExecutorIsDoneFromPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorIsDoneFromAddressCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorIsDoneFromAddressCodec.ResponseParameters params = ScheduledExecutorIsDoneFromAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromPartitionCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorGetResultFromPartitionCodec.ResponseParameters params = ScheduledExecutorGetResultFromPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorGetResultFromAddressCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorGetResultFromAddressCodec.ResponseParameters params = ScheduledExecutorGetResultFromAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromPartitionCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorDisposeFromPartitionCodec.ResponseParameters params = ScheduledExecutorDisposeFromPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ScheduledExecutorDisposeFromAddressCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ScheduledExecutorDisposeFromAddressCodec.ResponseParameters params = ScheduledExecutorDisposeFromAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    inputStream.close();
    input.close();
}
Also used : Address(com.hazelcast.nio.Address) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage) Member(com.hazelcast.core.Member) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) CacheEventData(com.hazelcast.cache.impl.CacheEventData) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) SafeBuffer(com.hazelcast.client.impl.protocol.util.SafeBuffer) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) DataInputStream(java.io.DataInputStream) InputStream(java.io.InputStream) Data(com.hazelcast.nio.serialization.Data) HeapData(com.hazelcast.internal.serialization.impl.HeapData) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) CacheEventData(com.hazelcast.cache.impl.CacheEventData) Data(com.hazelcast.nio.serialization.Data) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) DataInputStream(java.io.DataInputStream) Member(com.hazelcast.core.Member)

Example 32 with SafeBuffer

use of com.hazelcast.client.impl.protocol.util.SafeBuffer in project hazelcast by hazelcast.

the class ClientCompatibilityNullTest_1_0 method test.

@org.junit.Test
public void test() throws IOException {
    InputStream input = getClass().getResourceAsStream("/1.0.protocol.compatibility.null.binary");
    DataInputStream inputStream = new DataInputStream(input);
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeRequest(aString, aString, null, null, aBoolean, aString, aByte, aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.3), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCodec.ResponseParameters params = ClientAuthenticationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aByte, params.status));
        assertTrue(isEqual(null, params.address));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertFalse(params.serverHazelcastVersionExist);
        assertFalse(params.clientUnregisteredMembersExist);
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeRequest(aData, null, null, aBoolean, aString, aByte, aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.3), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCustomCodec.ResponseParameters params = ClientAuthenticationCustomCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aByte, params.status));
        assertTrue(isEqual(null, params.address));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertFalse(params.serverHazelcastVersionExist);
        assertFalse(params.clientUnregisteredMembersExist);
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddMembershipListenerCodec.ResponseParameters params = ClientAddMembershipListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddMembershipListenerCodecHandler extends ClientAddMembershipListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.core.Member member, int eventType) {
                assertTrue(isEqual(aMember, member));
                assertTrue(isEqual(anInt, eventType));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.core.Member> members) {
                assertTrue(isEqual(members, members));
            }

            @Override
            public void handle(java.lang.String uuid, java.lang.String key, int operationType, java.lang.String value) {
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(aString, key));
                assertTrue(isEqual(anInt, operationType));
                assertTrue(isEqual(null, value));
            }
        }
        ClientAddMembershipListenerCodecHandler handler = new ClientAddMembershipListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeRequest(aString, aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientCreateProxyCodec.ResponseParameters params = ClientCreateProxyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientDestroyProxyCodec.ResponseParameters params = ClientDestroyProxyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetPartitionsCodec.ResponseParameters params = ClientGetPartitionsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aPartitionTable, params.partitions));
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveAllListenersCodec.ResponseParameters params = ClientRemoveAllListenersCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddPartitionLostListenerCodec.ResponseParameters params = ClientAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddPartitionLostListenerCodecHandler extends ClientAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, int lostBackupCount, com.hazelcast.nio.Address source) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(anInt, lostBackupCount));
                assertTrue(isEqual(null, source));
            }
        }
        ClientAddPartitionLostListenerCodecHandler handler = new ClientAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemovePartitionLostListenerCodec.ResponseParameters params = ClientRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetDistributedObjectsCodec.ResponseParameters params = ClientGetDistributedObjectsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(distributedObjectInfos, params.response));
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeRequest(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddDistributedObjectListenerCodec.ResponseParameters params = ClientAddDistributedObjectListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ClientAddDistributedObjectListenerCodecHandler extends ClientAddDistributedObjectListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, java.lang.String serviceName, java.lang.String eventType) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(aString, serviceName));
                assertTrue(isEqual(aString, eventType));
            }
        }
        ClientAddDistributedObjectListenerCodecHandler handler = new ClientAddDistributedObjectListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveDistributedObjectListenerCodec.ResponseParameters params = ClientRemoveDistributedObjectListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientPingCodec.ResponseParameters params = ClientPingCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutCodec.ResponseParameters params = MapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetCodec.ResponseParameters params = MapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveCodec.ResponseParameters params = MapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceCodec.ResponseParameters params = MapReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeRequest(aString, aData, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceIfSameCodec.ResponseParameters params = MapReplaceIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsKeyCodec.ResponseParameters params = MapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsValueCodec.ResponseParameters params = MapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveIfSameCodec.ResponseParameters params = MapRemoveIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapDeleteCodec.ResponseParameters params = MapDeleteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFlushCodec.ResponseParameters params = MapFlushCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryRemoveCodec.ResponseParameters params = MapTryRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryPutCodec.ResponseParameters params = MapTryPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutTransientCodec.ResponseParameters params = MapPutTransientCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutIfAbsentCodec.ResponseParameters params = MapPutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeRequest(aString, aData, aData, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSetCodec.ResponseParameters params = MapSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLockCodec.ResponseParameters params = MapLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryLockCodec.ResponseParameters params = MapTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsLockedCodec.ResponseParameters params = MapIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapUnlockCodec.ResponseParameters params = MapUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddInterceptorCodec.ResponseParameters params = MapAddInterceptorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveInterceptorCodec.ResponseParameters params = MapRemoveInterceptorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyWithPredicateCodec.ResponseParameters params = MapAddEntryListenerToKeyWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerToKeyWithPredicateCodecHandler extends MapAddEntryListenerToKeyWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerToKeyWithPredicateCodecHandler handler = new MapAddEntryListenerToKeyWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerWithPredicateCodec.ResponseParameters params = MapAddEntryListenerWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerWithPredicateCodecHandler extends MapAddEntryListenerWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerWithPredicateCodecHandler handler = new MapAddEntryListenerWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyCodec.ResponseParameters params = MapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerToKeyCodecHandler extends MapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerToKeyCodecHandler handler = new MapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeRequest(aString, aBoolean, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerCodec.ResponseParameters params = MapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddEntryListenerCodecHandler extends MapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MapAddEntryListenerCodecHandler handler = new MapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddNearCacheEntryListenerCodec.ResponseParameters params = MapAddNearCacheEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddNearCacheEntryListenerCodecHandler extends MapAddNearCacheEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(null, key));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(datas, keys));
            }
        }
        MapAddNearCacheEntryListenerCodecHandler handler = new MapAddNearCacheEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveEntryListenerCodec.ResponseParameters params = MapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddPartitionLostListenerCodec.ResponseParameters params = MapAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MapAddPartitionLostListenerCodecHandler extends MapAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, java.lang.String uuid) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(aString, uuid));
            }
        }
        MapAddPartitionLostListenerCodecHandler handler = new MapAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemovePartitionLostListenerCodec.ResponseParameters params = MapRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetEntryViewCodec.ResponseParameters params = MapGetEntryViewCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictCodec.ResponseParameters params = MapEvictCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictAllCodec.ResponseParameters params = MapEvictAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadAllCodec.ResponseParameters params = MapLoadAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeRequest(aString, datas, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadGivenKeysCodec.ResponseParameters params = MapLoadGivenKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetCodec.ResponseParameters params = MapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetAllCodec.ResponseParameters params = MapGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesCodec.ResponseParameters params = MapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntrySetCodec.ResponseParameters params = MapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPredicateCodec.ResponseParameters params = MapKeySetWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPredicateCodec.ResponseParameters params = MapValuesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPredicateCodec.ResponseParameters params = MapEntriesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeRequest(aString, aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddIndexCodec.ResponseParameters params = MapAddIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSizeCodec.ResponseParameters params = MapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsEmptyCodec.ResponseParameters params = MapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeRequest(aString, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutAllCodec.ResponseParameters params = MapPutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearCodec.ResponseParameters params = MapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeyCodec.ResponseParameters params = MapExecuteOnKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSubmitToKeyCodec.ResponseParameters params = MapSubmitToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnAllKeysCodec.ResponseParameters params = MapExecuteOnAllKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeRequest(aString, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteWithPredicateCodec.ResponseParameters params = MapExecuteWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeRequest(aString, aData, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeysCodec.ResponseParameters params = MapExecuteOnKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapForceUnlockCodec.ResponseParameters params = MapForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPagingPredicateCodec.ResponseParameters params = MapKeySetWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPagingPredicateCodec.ResponseParameters params = MapValuesWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPagingPredicateCodec.ResponseParameters params = MapEntriesWithPagingPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeRequest(aString, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearNearCacheCodec.ResponseParameters params = MapClearNearCacheCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapPutCodec.ResponseParameters params = MultiMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapGetCodec.ResponseParameters params = MultiMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveCodec.ResponseParameters params = MultiMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapKeySetCodec.ResponseParameters params = MultiMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValuesCodec.ResponseParameters params = MultiMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapEntrySetCodec.ResponseParameters params = MultiMapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsKeyCodec.ResponseParameters params = MultiMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsValueCodec.ResponseParameters params = MultiMapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsEntryCodec.ResponseParameters params = MultiMapContainsEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapSizeCodec.ResponseParameters params = MultiMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapClearCodec.ResponseParameters params = MultiMapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValueCountCodec.ResponseParameters params = MultiMapValueCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerToKeyCodec.ResponseParameters params = MultiMapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MultiMapAddEntryListenerToKeyCodecHandler extends MultiMapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MultiMapAddEntryListenerToKeyCodecHandler handler = new MultiMapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerCodec.ResponseParameters params = MultiMapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class MultiMapAddEntryListenerCodecHandler extends MultiMapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        MultiMapAddEntryListenerCodecHandler handler = new MultiMapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryListenerCodec.ResponseParameters params = MultiMapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapLockCodec.ResponseParameters params = MultiMapLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeRequest(aString, aData, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapTryLockCodec.ResponseParameters params = MultiMapTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapIsLockedCodec.ResponseParameters params = MultiMapIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeRequest(aString, aData, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapUnlockCodec.ResponseParameters params = MultiMapUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapForceUnlockCodec.ResponseParameters params = MultiMapForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryCodec.ResponseParameters params = MultiMapRemoveEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeRequest(aString, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueOfferCodec.ResponseParameters params = QueueOfferCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePutCodec.ResponseParameters params = QueuePutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueSizeCodec.ResponseParameters params = QueueSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveCodec.ResponseParameters params = QueueRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePollCodec.ResponseParameters params = QueuePollCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueTakeCodec.ResponseParameters params = QueueTakeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePeekCodec.ResponseParameters params = QueuePeekCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIteratorCodec.ResponseParameters params = QueueIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToCodec.ResponseParameters params = QueueDrainToCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToMaxSizeCodec.ResponseParameters params = QueueDrainToMaxSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsCodec.ResponseParameters params = QueueContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsAllCodec.ResponseParameters params = QueueContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRemoveAllCodec.ResponseParameters params = QueueCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRetainAllCodec.ResponseParameters params = QueueCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueClearCodec.ResponseParameters params = QueueClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddAllCodec.ResponseParameters params = QueueAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddListenerCodec.ResponseParameters params = QueueAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class QueueAddListenerCodecHandler extends QueueAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        QueueAddListenerCodecHandler handler = new QueueAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveListenerCodec.ResponseParameters params = QueueRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemainingCapacityCodec.ResponseParameters params = QueueRemainingCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIsEmptyCodec.ResponseParameters params = QueueIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicPublishCodec.ResponseParameters params = TopicPublishCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicAddMessageListenerCodec.ResponseParameters params = TopicAddMessageListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class TopicAddMessageListenerCodecHandler extends TopicAddMessageListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, long publishTime, java.lang.String uuid) {
                assertTrue(isEqual(aData, item));
                assertTrue(isEqual(aLong, publishTime));
                assertTrue(isEqual(aString, uuid));
            }
        }
        TopicAddMessageListenerCodecHandler handler = new TopicAddMessageListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicRemoveMessageListenerCodec.ResponseParameters params = TopicRemoveMessageListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSizeCodec.ResponseParameters params = ListSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsCodec.ResponseParameters params = ListContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsAllCodec.ResponseParameters params = ListContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddCodec.ResponseParameters params = ListAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveCodec.ResponseParameters params = ListRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllCodec.ResponseParameters params = ListAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRemoveAllCodec.ResponseParameters params = ListCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRetainAllCodec.ResponseParameters params = ListCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListClearCodec.ResponseParameters params = ListClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetAllCodec.ResponseParameters params = ListGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddListenerCodec.ResponseParameters params = ListAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ListAddListenerCodecHandler extends ListAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        ListAddListenerCodecHandler handler = new ListAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveListenerCodec.ResponseParameters params = ListRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIsEmptyCodec.ResponseParameters params = ListIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeRequest(aString, anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllWithIndexCodec.ResponseParameters params = ListAddAllWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetCodec.ResponseParameters params = ListGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSetCodec.ResponseParameters params = ListSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddWithIndexCodec.ResponseParameters params = ListAddWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveWithIndexCodec.ResponseParameters params = ListRemoveWithIndexCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListLastIndexOfCodec.ResponseParameters params = ListLastIndexOfCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIndexOfCodec.ResponseParameters params = ListIndexOfCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeRequest(aString, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSubCodec.ResponseParameters params = ListSubCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIteratorCodec.ResponseParameters params = ListIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListListIteratorCodec.ResponseParameters params = ListListIteratorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetSizeCodec.ResponseParameters params = SetSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsCodec.ResponseParameters params = SetContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsAllCodec.ResponseParameters params = SetContainsAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddCodec.ResponseParameters params = SetAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveCodec.ResponseParameters params = SetRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddAllCodec.ResponseParameters params = SetAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRemoveAllCodec.ResponseParameters params = SetCompareAndRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeRequest(aString, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRetainAllCodec.ResponseParameters params = SetCompareAndRetainAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetClearCodec.ResponseParameters params = SetClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetGetAllCodec.ResponseParameters params = SetGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddListenerCodec.ResponseParameters params = SetAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class SetAddListenerCodecHandler extends SetAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data item, java.lang.String uuid, int eventType) {
                assertTrue(isEqual(null, item));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, eventType));
            }
        }
        SetAddListenerCodecHandler handler = new SetAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveListenerCodec.ResponseParameters params = SetRemoveListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetIsEmptyCodec.ResponseParameters params = SetIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedCodec.ResponseParameters params = LockIsLockedCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedByCurrentThreadCodec.ResponseParameters params = LockIsLockedByCurrentThreadCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetLockCountCodec.ResponseParameters params = LockGetLockCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetRemainingLeaseTimeCodec.ResponseParameters params = LockGetRemainingLeaseTimeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeRequest(aString, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockLockCodec.ResponseParameters params = LockLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeRequest(aString, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockUnlockCodec.ResponseParameters params = LockUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockForceUnlockCodec.ResponseParameters params = LockForceUnlockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeRequest(aString, aLong, aLong, aLong, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockTryLockCodec.ResponseParameters params = LockTryLockCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeRequest(aString, aLong, aLong, aString, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionAwaitCodec.ResponseParameters params = ConditionAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeRequest(aString, aLong, aString, aLong);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionBeforeAwaitCodec.ResponseParameters params = ConditionBeforeAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeRequest(aString, aLong, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalCodec.ResponseParameters params = ConditionSignalCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeRequest(aString, aLong, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalAllCodec.ResponseParameters params = ConditionSignalAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceShutdownCodec.ResponseParameters params = ExecutorServiceShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceIsShutdownCodec.ResponseParameters params = ExecutorServiceIsShutdownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeRequest(aString, anInt, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnPartitionCodec.ResponseParameters params = ExecutorServiceCancelOnPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeRequest(aString, anAddress, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnAddressCodec.ResponseParameters params = ExecutorServiceCancelOnAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeRequest(aString, aString, aData, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToPartitionCodec.ResponseParameters params = ExecutorServiceSubmitToPartitionCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeRequest(aString, aString, aData, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToAddressCodec.ResponseParameters params = ExecutorServiceSubmitToAddressCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongApplyCodec.ResponseParameters params = AtomicLongApplyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterCodec.ResponseParameters params = AtomicLongAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterAndGetCodec.ResponseParameters params = AtomicLongAlterAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAlterCodec.ResponseParameters params = AtomicLongGetAndAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAddAndGetCodec.ResponseParameters params = AtomicLongAddAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeRequest(aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongCompareAndSetCodec.ResponseParameters params = AtomicLongCompareAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongDecrementAndGetCodec.ResponseParameters params = AtomicLongDecrementAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetCodec.ResponseParameters params = AtomicLongGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAddCodec.ResponseParameters params = AtomicLongGetAndAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndSetCodec.ResponseParameters params = AtomicLongGetAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongIncrementAndGetCodec.ResponseParameters params = AtomicLongIncrementAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndIncrementCodec.ResponseParameters params = AtomicLongGetAndIncrementCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongSetCodec.ResponseParameters params = AtomicLongSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceApplyCodec.ResponseParameters params = AtomicReferenceApplyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterCodec.ResponseParameters params = AtomicReferenceAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterAndGetCodec.ResponseParameters params = AtomicReferenceAlterAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndAlterCodec.ResponseParameters params = AtomicReferenceGetAndAlterCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceContainsCodec.ResponseParameters params = AtomicReferenceContainsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeRequest(aString, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceCompareAndSetCodec.ResponseParameters params = AtomicReferenceCompareAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetCodec.ResponseParameters params = AtomicReferenceGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetCodec.ResponseParameters params = AtomicReferenceSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceClearCodec.ResponseParameters params = AtomicReferenceClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndSetCodec.ResponseParameters params = AtomicReferenceGetAndSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeRequest(aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetAndGetCodec.ResponseParameters params = AtomicReferenceSetAndGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceIsNullCodec.ResponseParameters params = AtomicReferenceIsNullCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchAwaitCodec.ResponseParameters params = CountDownLatchAwaitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchCountDownCodec.ResponseParameters params = CountDownLatchCountDownCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchGetCountCodec.ResponseParameters params = CountDownLatchGetCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchTrySetCountCodec.ResponseParameters params = CountDownLatchTrySetCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreInitCodec.ResponseParameters params = SemaphoreInitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAcquireCodec.ResponseParameters params = SemaphoreAcquireCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAvailablePermitsCodec.ResponseParameters params = SemaphoreAvailablePermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreDrainPermitsCodec.ResponseParameters params = SemaphoreDrainPermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReducePermitsCodec.ResponseParameters params = SemaphoreReducePermitsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReleaseCodec.ResponseParameters params = SemaphoreReleaseCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeRequest(aString, anInt, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreTryAcquireCodec.ResponseParameters params = SemaphoreTryAcquireCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeRequest(aString, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutCodec.ResponseParameters params = ReplicatedMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapSizeCodec.ResponseParameters params = ReplicatedMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapIsEmptyCodec.ResponseParameters params = ReplicatedMapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsKeyCodec.ResponseParameters params = ReplicatedMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsValueCodec.ResponseParameters params = ReplicatedMapContainsValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapGetCodec.ResponseParameters params = ReplicatedMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveCodec.ResponseParameters params = ReplicatedMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeRequest(aString, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutAllCodec.ResponseParameters params = ReplicatedMapPutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapClearCodec.ResponseParameters params = ReplicatedMapClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeRequest(aString, aData, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.ResponseParameters params = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler extends ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler handler = new ReplicatedMapAddEntryListenerToKeyWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeRequest(aString, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerWithPredicateCodec.ResponseParameters params = ReplicatedMapAddEntryListenerWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerWithPredicateCodecHandler extends ReplicatedMapAddEntryListenerWithPredicateCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerWithPredicateCodecHandler handler = new ReplicatedMapAddEntryListenerWithPredicateCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeRequest(aString, aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyCodec.ResponseParameters params = ReplicatedMapAddEntryListenerToKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerToKeyCodecHandler extends ReplicatedMapAddEntryListenerToKeyCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerToKeyCodecHandler handler = new ReplicatedMapAddEntryListenerToKeyCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerCodec.ResponseParameters params = ReplicatedMapAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddEntryListenerCodecHandler extends ReplicatedMapAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddEntryListenerCodecHandler handler = new ReplicatedMapAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveEntryListenerCodec.ResponseParameters params = ReplicatedMapRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapKeySetCodec.ResponseParameters params = ReplicatedMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapValuesCodec.ResponseParameters params = ReplicatedMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapEntrySetCodec.ResponseParameters params = ReplicatedMapEntrySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeRequest(aString, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddNearCacheEntryListenerCodec.ResponseParameters params = ReplicatedMapAddNearCacheEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ReplicatedMapAddNearCacheEntryListenerCodecHandler extends ReplicatedMapAddNearCacheEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.nio.serialization.Data key, com.hazelcast.nio.serialization.Data value, com.hazelcast.nio.serialization.Data oldValue, com.hazelcast.nio.serialization.Data mergingValue, int eventType, java.lang.String uuid, int numberOfAffectedEntries) {
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, value));
                assertTrue(isEqual(null, oldValue));
                assertTrue(isEqual(null, mergingValue));
                assertTrue(isEqual(anInt, eventType));
                assertTrue(isEqual(aString, uuid));
                assertTrue(isEqual(anInt, numberOfAffectedEntries));
            }
        }
        ReplicatedMapAddNearCacheEntryListenerCodecHandler handler = new ReplicatedMapAddNearCacheEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceCancelCodec.ResponseParameters params = MapReduceCancelCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceJobProcessInformationCodec.ResponseParameters params = MapReduceJobProcessInformationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(jobPartitionStates, params.jobPartitionStates));
        assertTrue(isEqual(anInt, params.processRecords));
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMapCodec.ResponseParameters params = MapReduceForMapCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForListCodec.ResponseParameters params = MapReduceForListCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForSetCodec.ResponseParameters params = MapReduceForSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeRequest(aString, aString, null, aData, null, null, aString, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMultiMapCodec.ResponseParameters params = MapReduceForMultiMapCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeRequest(aString, aString, null, aData, null, null, aData, anInt, null, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForCustomCodec.ResponseParameters params = MapReduceForCustomCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapContainsKeyCodec.ResponseParameters params = TransactionalMapContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetCodec.ResponseParameters params = TransactionalMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetForUpdateCodec.ResponseParameters params = TransactionalMapGetForUpdateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSizeCodec.ResponseParameters params = TransactionalMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapIsEmptyCodec.ResponseParameters params = TransactionalMapIsEmptyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutCodec.ResponseParameters params = TransactionalMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSetCodec.ResponseParameters params = TransactionalMapSetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutIfAbsentCodec.ResponseParameters params = TransactionalMapPutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceCodec.ResponseParameters params = TransactionalMapReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceIfSameCodec.ResponseParameters params = TransactionalMapReplaceIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveCodec.ResponseParameters params = TransactionalMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapDeleteCodec.ResponseParameters params = TransactionalMapDeleteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveIfSameCodec.ResponseParameters params = TransactionalMapRemoveIfSameCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetCodec.ResponseParameters params = TransactionalMapKeySetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetWithPredicateCodec.ResponseParameters params = TransactionalMapKeySetWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesCodec.ResponseParameters params = TransactionalMapValuesCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesWithPredicateCodec.ResponseParameters params = TransactionalMapValuesWithPredicateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapPutCodec.ResponseParameters params = TransactionalMultiMapPutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapGetCodec.ResponseParameters params = TransactionalMultiMapGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveCodec.ResponseParameters params = TransactionalMultiMapRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeRequest(aString, aString, aLong, aData, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveEntryCodec.ResponseParameters params = TransactionalMultiMapRemoveEntryCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapValueCountCodec.ResponseParameters params = TransactionalMultiMapValueCountCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapSizeCodec.ResponseParameters params = TransactionalMultiMapSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetAddCodec.ResponseParameters params = TransactionalSetAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetRemoveCodec.ResponseParameters params = TransactionalSetRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetSizeCodec.ResponseParameters params = TransactionalSetSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListAddCodec.ResponseParameters params = TransactionalListAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeRequest(aString, aString, aLong, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListRemoveCodec.ResponseParameters params = TransactionalListRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListSizeCodec.ResponseParameters params = TransactionalListSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeRequest(aString, aString, aLong, aData, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueOfferCodec.ResponseParameters params = TransactionalQueueOfferCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueTakeCodec.ResponseParameters params = TransactionalQueueTakeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeRequest(aString, aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePollCodec.ResponseParameters params = TransactionalQueuePollCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeRequest(aString, aString, aLong, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePeekCodec.ResponseParameters params = TransactionalQueuePeekCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueSizeCodec.ResponseParameters params = TransactionalQueueSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddEntryListenerCodec.ResponseParameters params = CacheAddEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddEntryListenerCodecHandler extends CacheAddEntryListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int type, java.util.Collection<com.hazelcast.cache.impl.CacheEventData> keys, int completionId) {
                assertTrue(isEqual(anInt, type));
                assertTrue(isEqual(cacheEventDatas, keys));
                assertTrue(isEqual(anInt, completionId));
            }
        }
        CacheAddEntryListenerCodecHandler handler = new CacheAddEntryListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.0) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddInvalidationListenerCodec.ResponseParameters params = CacheAddInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddInvalidationListenerCodecHandler extends CacheAddInvalidationListenerCodec.AbstractEventHandler {

            @Override
            public void handle(java.lang.String name, com.hazelcast.nio.serialization.Data key, java.lang.String sourceUuid, java.util.UUID partitionUuid, long sequence) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(null, key));
                assertTrue(isEqual(null, sourceUuid));
            }

            @Override
            public void handle(java.lang.String name, java.util.Collection<com.hazelcast.nio.serialization.Data> keys, java.util.Collection<java.lang.String> sourceUuids, java.util.Collection<java.util.UUID> partitionUuids, java.util.Collection<java.lang.Long> sequences) {
                assertTrue(isEqual(aString, name));
                assertTrue(isEqual(datas, keys));
                assertTrue(isEqual(null, sourceUuids));
            }
        }
        CacheAddInvalidationListenerCodecHandler handler = new CacheAddInvalidationListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheClearCodec.ResponseParameters params = CacheClearCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeRequest(aString, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllKeysCodec.ResponseParameters params = CacheRemoveAllKeysCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeRequest(aString, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllCodec.ResponseParameters params = CacheRemoveAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeRequest(aString, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheContainsKeyCodec.ResponseParameters params = CacheContainsKeyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeRequest(aData, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheCreateConfigCodec.ResponseParameters params = CacheCreateConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheDestroyCodec.ResponseParameters params = CacheDestroyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeRequest(aString, aData, aData, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheEntryProcessorCodec.ResponseParameters params = CacheEntryProcessorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeRequest(aString, datas, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAllCodec.ResponseParameters params = CacheGetAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeRequest(aString, aData, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndRemoveCodec.ResponseParameters params = CacheGetAndRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeRequest(aString, aData, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndReplaceCodec.ResponseParameters params = CacheGetAndReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetConfigCodec.ResponseParameters params = CacheGetConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeRequest(aString, aData, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetCodec.ResponseParameters params = CacheGetCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeRequest(aString, anInt, anInt, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateCodec.ResponseParameters params = CacheIterateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeRequest(aString, aData, aBoolean, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheListenerRegistrationCodec.ResponseParameters params = CacheListenerRegistrationCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeRequest(aString, datas, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheLoadAllCodec.ResponseParameters params = CacheLoadAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeRequest(aString, aBoolean, aBoolean, anAddress);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheManagementConfigCodec.ResponseParameters params = CacheManagementConfigCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeRequest(aString, aData, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutIfAbsentCodec.ResponseParameters params = CachePutIfAbsentCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeRequest(aString, aData, aData, null, aBoolean, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutCodec.ResponseParameters params = CachePutCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveEntryListenerCodec.ResponseParameters params = CacheRemoveEntryListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveInvalidationListenerCodec.ResponseParameters params = CacheRemoveInvalidationListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeRequest(aString, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveCodec.ResponseParameters params = CacheRemoveCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeRequest(aString, aData, null, aData, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheReplaceCodec.ResponseParameters params = CacheReplaceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheSizeCodec.ResponseParameters params = CacheSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.response));
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddPartitionLostListenerCodec.ResponseParameters params = CacheAddPartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class CacheAddPartitionLostListenerCodecHandler extends CacheAddPartitionLostListenerCodec.AbstractEventHandler {

            @Override
            public void handle(int partitionId, java.lang.String uuid) {
                assertTrue(isEqual(anInt, partitionId));
                assertTrue(isEqual(aString, uuid));
            }
        }
        CacheAddPartitionLostListenerCodecHandler handler = new CacheAddPartitionLostListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemovePartitionLostListenerCodec.ResponseParameters params = CacheRemovePartitionLostListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeRequest(aString, aListOfEntry, null, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutAllCodec.ResponseParameters params = CachePutAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeRequest(anXid);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionClearRemoteCodec.ResponseParameters params = XATransactionClearRemoteCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeRequest();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCollectTransactionsCodec.ResponseParameters params = XATransactionCollectTransactionsCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeRequest(anXid, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionFinalizeCodec.ResponseParameters params = XATransactionFinalizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCommitCodec.ResponseParameters params = XATransactionCommitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeRequest(anXid, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCreateCodec.ResponseParameters params = XATransactionCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionPrepareCodec.ResponseParameters params = XATransactionPrepareCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionRollbackCodec.ResponseParameters params = XATransactionRollbackCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCommitCodec.ResponseParameters params = TransactionCommitCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeRequest(aLong, anInt, anInt, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCreateCodec.ResponseParameters params = TransactionCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionRollbackCodec.ResponseParameters params = TransactionRollbackCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateWithValueCodec.ResponseParameters params = ContinuousQueryPublisherCreateWithValueCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aListOfEntry, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeRequest(aString, aString, aData, anInt, anInt, aLong, aBoolean, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateCodec.ResponseParameters params = ContinuousQueryPublisherCreateCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(datas, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryMadePublishableCodec.ResponseParameters params = ContinuousQueryMadePublishableCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeRequest(aString, aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryAddListenerCodec.ResponseParameters params = ContinuousQueryAddListenerCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.response));
    }
    {
        class ContinuousQueryAddListenerCodecHandler extends ContinuousQueryAddListenerCodec.AbstractEventHandler {

            @Override
            public void handle(com.hazelcast.map.impl.querycache.event.QueryCacheEventData data) {
                assertTrue(isEqual(aQueryCacheEventData, data));
            }

            @Override
            public void handle(java.util.Collection<com.hazelcast.map.impl.querycache.event.QueryCacheEventData> events, java.lang.String source, int partitionId) {
                assertTrue(isEqual(queryCacheEventDatas, events));
                assertTrue(isEqual(aString, source));
                assertTrue(isEqual(anInt, partitionId));
            }
        }
        ContinuousQueryAddListenerCodecHandler handler = new ContinuousQueryAddListenerCodecHandler();
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
        {
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            handler.handle(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        }
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeRequest(aString, aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQuerySetReadCursorCodec.ResponseParameters params = ContinuousQuerySetReadCursorCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeRequest(aString, aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryDestroyCacheCodec.ResponseParameters params = ContinuousQueryDestroyCacheCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferSizeCodec.ResponseParameters params = RingbufferSizeCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferTailSequenceCodec.ResponseParameters params = RingbufferTailSequenceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferHeadSequenceCodec.ResponseParameters params = RingbufferHeadSequenceCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferCapacityCodec.ResponseParameters params = RingbufferCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeRequest(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferRemainingCapacityCodec.ResponseParameters params = RingbufferRemainingCapacityCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeRequest(aString, anInt, aData);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddCodec.ResponseParameters params = RingbufferAddCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeRequest(aString, aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadOneCodec.ResponseParameters params = RingbufferReadOneCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(null, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeRequest(aString, datas, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddAllCodec.ResponseParameters params = RingbufferAddAllCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.response));
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeRequest(aString, aLong, anInt, anInt, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadManyCodec.ResponseParameters params = RingbufferReadManyCodec.decodeResponse(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anInt, params.readCount));
        assertTrue(isEqual(datas, params.items));
    }
    inputStream.close();
    input.close();
}
Also used : Address(com.hazelcast.nio.Address) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage) Member(com.hazelcast.core.Member) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) CacheEventData(com.hazelcast.cache.impl.CacheEventData) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) SafeBuffer(com.hazelcast.client.impl.protocol.util.SafeBuffer) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) DataInputStream(java.io.DataInputStream) InputStream(java.io.InputStream) Data(com.hazelcast.nio.serialization.Data) HeapData(com.hazelcast.internal.serialization.impl.HeapData) QueryCacheEventData(com.hazelcast.map.impl.querycache.event.QueryCacheEventData) CacheEventData(com.hazelcast.cache.impl.CacheEventData) Data(com.hazelcast.nio.serialization.Data) DefaultQueryCacheEventData(com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData) DataInputStream(java.io.DataInputStream) Member(com.hazelcast.core.Member)

Example 33 with SafeBuffer

use of com.hazelcast.client.impl.protocol.util.SafeBuffer in project hazelcast by hazelcast.

the class ServerCompatibilityNullTest_1_1 method test.

@org.junit.Test
public void test() throws IOException {
    InputStream input = getClass().getResourceAsStream("/1.1.protocol.compatibility.null.binary");
    DataInputStream inputStream = new DataInputStream(input);
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCodec.RequestParameters params = ClientAuthenticationCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.username));
        assertTrue(isEqual(aString, params.password));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aBoolean, params.isOwnerConnection));
        assertTrue(isEqual(aString, params.clientType));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertFalse(params.clientHazelcastVersionExist);
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeResponse(aByte, null, null, null, aByte, aString, null);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.3), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCustomCodec.RequestParameters params = ClientAuthenticationCustomCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aData, params.credentials));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aBoolean, params.isOwnerConnection));
        assertTrue(isEqual(aString, params.clientType));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertFalse(params.clientHazelcastVersionExist);
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeResponse(aByte, null, null, null, aByte, aString, null);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.3), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddMembershipListenerCodec.RequestParameters params = ClientAddMembershipListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberEvent(aMember, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberListEvent(members);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberAttributeChangeEvent(aString, aString, anInt, null);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientCreateProxyCodec.RequestParameters params = ClientCreateProxyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.serviceName));
        assertTrue(isEqual(anAddress, params.target));
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientDestroyProxyCodec.RequestParameters params = ClientDestroyProxyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.serviceName));
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetPartitionsCodec.RequestParameters params = ClientGetPartitionsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeResponse(aPartitionTable);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveAllListenersCodec.RequestParameters params = ClientRemoveAllListenersCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddPartitionLostListenerCodec.RequestParameters params = ClientAddPartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodePartitionLostEvent(anInt, anInt, null);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemovePartitionLostListenerCodec.RequestParameters params = ClientRemovePartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetDistributedObjectsCodec.RequestParameters params = ClientGetDistributedObjectsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeResponse(distributedObjectInfos);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddDistributedObjectListenerCodec.RequestParameters params = ClientAddDistributedObjectListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeDistributedObjectEvent(aString, aString, aString);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveDistributedObjectListenerCodec.RequestParameters params = ClientRemoveDistributedObjectListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientPingCodec.RequestParameters params = ClientPingCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutCodec.RequestParameters params = MapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetCodec.RequestParameters params = MapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveCodec.RequestParameters params = MapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceCodec.RequestParameters params = MapReplaceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceIfSameCodec.RequestParameters params = MapReplaceIfSameCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.testValue));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsKeyCodec.RequestParameters params = MapContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsValueCodec.RequestParameters params = MapContainsValueCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveIfSameCodec.RequestParameters params = MapRemoveIfSameCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapDeleteCodec.RequestParameters params = MapDeleteCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFlushCodec.RequestParameters params = MapFlushCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryRemoveCodec.RequestParameters params = MapTryRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryPutCodec.RequestParameters params = MapTryPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutTransientCodec.RequestParameters params = MapPutTransientCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutIfAbsentCodec.RequestParameters params = MapPutIfAbsentCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSetCodec.RequestParameters params = MapSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLockCodec.RequestParameters params = MapLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryLockCodec.RequestParameters params = MapTryLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.lease));
        assertTrue(isEqual(aLong, params.timeout));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsLockedCodec.RequestParameters params = MapIsLockedCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapUnlockCodec.RequestParameters params = MapUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddInterceptorCodec.RequestParameters params = MapAddInterceptorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.interceptor));
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveInterceptorCodec.RequestParameters params = MapRemoveInterceptorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.id));
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyWithPredicateCodec.RequestParameters params = MapAddEntryListenerToKeyWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerWithPredicateCodec.RequestParameters params = MapAddEntryListenerWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyCodec.RequestParameters params = MapAddEntryListenerToKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerCodec.RequestParameters params = MapAddEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddNearCacheEntryListenerCodec.RequestParameters params = MapAddNearCacheEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeIMapInvalidationEvent(null, aString, aUUID, aLong);
            int length = inputStream.readInt();
            // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
            // (version 1.4), only the bytes after frame length fields are compared
            int frameLength = clientMessage.getFrameLength();
            assertTrue(frameLength >= length);
            inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
            byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
        }
        {
            ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeIMapBatchInvalidationEvent(datas, strings, uuids, longs);
            int length = inputStream.readInt();
            // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
            // (version 1.4), only the bytes after frame length fields are compared
            int frameLength = clientMessage.getFrameLength();
            assertTrue(frameLength >= length);
            inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
            byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveEntryListenerCodec.RequestParameters params = MapRemoveEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddPartitionLostListenerCodec.RequestParameters params = MapAddPartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeMapPartitionLostEvent(anInt, aString);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemovePartitionLostListenerCodec.RequestParameters params = MapRemovePartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetEntryViewCodec.RequestParameters params = MapGetEntryViewCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictCodec.RequestParameters params = MapEvictCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictAllCodec.RequestParameters params = MapEvictAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadAllCodec.RequestParameters params = MapLoadAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.replaceExistingValues));
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadGivenKeysCodec.RequestParameters params = MapLoadGivenKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
        assertTrue(isEqual(aBoolean, params.replaceExistingValues));
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetCodec.RequestParameters params = MapKeySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetAllCodec.RequestParameters params = MapGetAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesCodec.RequestParameters params = MapValuesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntrySetCodec.RequestParameters params = MapEntrySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPredicateCodec.RequestParameters params = MapKeySetWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPredicateCodec.RequestParameters params = MapValuesWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPredicateCodec.RequestParameters params = MapEntriesWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddIndexCodec.RequestParameters params = MapAddIndexCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.attribute));
        assertTrue(isEqual(aBoolean, params.ordered));
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSizeCodec.RequestParameters params = MapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsEmptyCodec.RequestParameters params = MapIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutAllCodec.RequestParameters params = MapPutAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearCodec.RequestParameters params = MapClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeyCodec.RequestParameters params = MapExecuteOnKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSubmitToKeyCodec.RequestParameters params = MapSubmitToKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnAllKeysCodec.RequestParameters params = MapExecuteOnAllKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteWithPredicateCodec.RequestParameters params = MapExecuteWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeysCodec.RequestParameters params = MapExecuteOnKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapForceUnlockCodec.RequestParameters params = MapForceUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPagingPredicateCodec.RequestParameters params = MapKeySetWithPagingPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPagingPredicateCodec.RequestParameters params = MapValuesWithPagingPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPagingPredicateCodec.RequestParameters params = MapEntriesWithPagingPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearNearCacheCodec.RequestParameters params = MapClearNearCacheCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anAddress, params.target));
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchKeysCodec.RequestParameters params = MapFetchKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(anInt, params.batch));
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeResponse(anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchEntriesCodec.RequestParameters params = MapFetchEntriesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(anInt, params.batch));
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeResponse(anInt, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapPutCodec.RequestParameters params = MultiMapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapGetCodec.RequestParameters params = MultiMapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveCodec.RequestParameters params = MultiMapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapKeySetCodec.RequestParameters params = MultiMapKeySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValuesCodec.RequestParameters params = MultiMapValuesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapEntrySetCodec.RequestParameters params = MultiMapEntrySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsKeyCodec.RequestParameters params = MultiMapContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsValueCodec.RequestParameters params = MultiMapContainsValueCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsEntryCodec.RequestParameters params = MultiMapContainsEntryCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapSizeCodec.RequestParameters params = MultiMapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapClearCodec.RequestParameters params = MultiMapClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValueCountCodec.RequestParameters params = MultiMapValueCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerToKeyCodec.RequestParameters params = MultiMapAddEntryListenerToKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerCodec.RequestParameters params = MultiMapAddEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryListenerCodec.RequestParameters params = MultiMapRemoveEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapLockCodec.RequestParameters params = MultiMapLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapTryLockCodec.RequestParameters params = MultiMapTryLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.lease));
        assertTrue(isEqual(aLong, params.timeout));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapIsLockedCodec.RequestParameters params = MultiMapIsLockedCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapUnlockCodec.RequestParameters params = MultiMapUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapForceUnlockCodec.RequestParameters params = MultiMapForceUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryCodec.RequestParameters params = MultiMapRemoveEntryCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueOfferCodec.RequestParameters params = QueueOfferCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.timeoutMillis));
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePutCodec.RequestParameters params = QueuePutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueSizeCodec.RequestParameters params = QueueSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveCodec.RequestParameters params = QueueRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePollCodec.RequestParameters params = QueuePollCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.timeoutMillis));
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueTakeCodec.RequestParameters params = QueueTakeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePeekCodec.RequestParameters params = QueuePeekCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIteratorCodec.RequestParameters params = QueueIteratorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToCodec.RequestParameters params = QueueDrainToCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToMaxSizeCodec.RequestParameters params = QueueDrainToMaxSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.maxSize));
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsCodec.RequestParameters params = QueueContainsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsAllCodec.RequestParameters params = QueueContainsAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.dataList));
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRemoveAllCodec.RequestParameters params = QueueCompareAndRemoveAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.dataList));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRetainAllCodec.RequestParameters params = QueueCompareAndRetainAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.dataList));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueClearCodec.RequestParameters params = QueueClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddAllCodec.RequestParameters params = QueueAddAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.dataList));
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddListenerCodec.RequestParameters params = QueueAddListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = QueueAddListenerCodec.encodeItemEvent(null, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveListenerCodec.RequestParameters params = QueueRemoveListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemainingCapacityCodec.RequestParameters params = QueueRemainingCapacityCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIsEmptyCodec.RequestParameters params = QueueIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicPublishCodec.RequestParameters params = TopicPublishCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.message));
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicAddMessageListenerCodec.RequestParameters params = TopicAddMessageListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeTopicEvent(aData, aLong, aString);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicRemoveMessageListenerCodec.RequestParameters params = TopicRemoveMessageListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSizeCodec.RequestParameters params = ListSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsCodec.RequestParameters params = ListContainsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsAllCodec.RequestParameters params = ListContainsAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddCodec.RequestParameters params = ListAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveCodec.RequestParameters params = ListRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllCodec.RequestParameters params = ListAddAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.valueList));
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRemoveAllCodec.RequestParameters params = ListCompareAndRemoveAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRetainAllCodec.RequestParameters params = ListCompareAndRetainAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListClearCodec.RequestParameters params = ListClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetAllCodec.RequestParameters params = ListGetAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddListenerCodec.RequestParameters params = ListAddListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ListAddListenerCodec.encodeItemEvent(null, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveListenerCodec.RequestParameters params = ListRemoveListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIsEmptyCodec.RequestParameters params = ListIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllWithIndexCodec.RequestParameters params = ListAddAllWithIndexCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
        assertTrue(isEqual(datas, params.valueList));
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetCodec.RequestParameters params = ListGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSetCodec.RequestParameters params = ListSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddWithIndexCodec.RequestParameters params = ListAddWithIndexCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveWithIndexCodec.RequestParameters params = ListRemoveWithIndexCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListLastIndexOfCodec.RequestParameters params = ListLastIndexOfCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIndexOfCodec.RequestParameters params = ListIndexOfCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSubCodec.RequestParameters params = ListSubCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.from));
        assertTrue(isEqual(anInt, params.to));
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIteratorCodec.RequestParameters params = ListIteratorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListListIteratorCodec.RequestParameters params = ListListIteratorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetSizeCodec.RequestParameters params = SetSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsCodec.RequestParameters params = SetContainsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsAllCodec.RequestParameters params = SetContainsAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.items));
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddCodec.RequestParameters params = SetAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveCodec.RequestParameters params = SetRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddAllCodec.RequestParameters params = SetAddAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.valueList));
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRemoveAllCodec.RequestParameters params = SetCompareAndRemoveAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRetainAllCodec.RequestParameters params = SetCompareAndRetainAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetClearCodec.RequestParameters params = SetClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetGetAllCodec.RequestParameters params = SetGetAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddListenerCodec.RequestParameters params = SetAddListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = SetAddListenerCodec.encodeItemEvent(null, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveListenerCodec.RequestParameters params = SetRemoveListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetIsEmptyCodec.RequestParameters params = SetIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedCodec.RequestParameters params = LockIsLockedCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedByCurrentThreadCodec.RequestParameters params = LockIsLockedByCurrentThreadCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetLockCountCodec.RequestParameters params = LockGetLockCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetRemainingLeaseTimeCodec.RequestParameters params = LockGetRemainingLeaseTimeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockLockCodec.RequestParameters params = LockLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.leaseTime));
        assertTrue(isEqual(aLong, params.threadId));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockUnlockCodec.RequestParameters params = LockUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockForceUnlockCodec.RequestParameters params = LockForceUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockTryLockCodec.RequestParameters params = LockTryLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.lease));
        assertTrue(isEqual(aLong, params.timeout));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionAwaitCodec.RequestParameters params = ConditionAwaitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
        assertTrue(isEqual(aString, params.lockName));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionBeforeAwaitCodec.RequestParameters params = ConditionBeforeAwaitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aString, params.lockName));
        assertFalse(params.referenceIdExist);
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeResponse();
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.2), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalCodec.RequestParameters params = ConditionSignalCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aString, params.lockName));
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalAllCodec.RequestParameters params = ConditionSignalAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aString, params.lockName));
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceShutdownCodec.RequestParameters params = ExecutorServiceShutdownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceIsShutdownCodec.RequestParameters params = ExecutorServiceIsShutdownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnPartitionCodec.RequestParameters params = ExecutorServiceCancelOnPartitionCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.uuid));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(aBoolean, params.interrupt));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnAddressCodec.RequestParameters params = ExecutorServiceCancelOnAddressCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.uuid));
        assertTrue(isEqual(anAddress, params.address));
        assertTrue(isEqual(aBoolean, params.interrupt));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToPartitionCodec.RequestParameters params = ExecutorServiceSubmitToPartitionCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.uuid));
        assertTrue(isEqual(aData, params.callable));
        assertTrue(isEqual(anInt, params.partitionId));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToAddressCodec.RequestParameters params = ExecutorServiceSubmitToAddressCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.uuid));
        assertTrue(isEqual(aData, params.callable));
        assertTrue(isEqual(anAddress, params.address));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongApplyCodec.RequestParameters params = AtomicLongApplyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterCodec.RequestParameters params = AtomicLongAlterCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterAndGetCodec.RequestParameters params = AtomicLongAlterAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAlterCodec.RequestParameters params = AtomicLongGetAndAlterCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAddAndGetCodec.RequestParameters params = AtomicLongAddAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.delta));
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongCompareAndSetCodec.RequestParameters params = AtomicLongCompareAndSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.expected));
        assertTrue(isEqual(aLong, params.updated));
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongDecrementAndGetCodec.RequestParameters params = AtomicLongDecrementAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetCodec.RequestParameters params = AtomicLongGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAddCodec.RequestParameters params = AtomicLongGetAndAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.delta));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndSetCodec.RequestParameters params = AtomicLongGetAndSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongIncrementAndGetCodec.RequestParameters params = AtomicLongIncrementAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndIncrementCodec.RequestParameters params = AtomicLongGetAndIncrementCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongSetCodec.RequestParameters params = AtomicLongSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceApplyCodec.RequestParameters params = AtomicReferenceApplyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterCodec.RequestParameters params = AtomicReferenceAlterCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterAndGetCodec.RequestParameters params = AtomicReferenceAlterAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndAlterCodec.RequestParameters params = AtomicReferenceGetAndAlterCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceContainsCodec.RequestParameters params = AtomicReferenceContainsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.expected));
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceCompareAndSetCodec.RequestParameters params = AtomicReferenceCompareAndSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.expected));
        assertTrue(isEqual(null, params.updated));
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetCodec.RequestParameters params = AtomicReferenceGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetCodec.RequestParameters params = AtomicReferenceSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceClearCodec.RequestParameters params = AtomicReferenceClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndSetCodec.RequestParameters params = AtomicReferenceGetAndSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetAndGetCodec.RequestParameters params = AtomicReferenceSetAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceIsNullCodec.RequestParameters params = AtomicReferenceIsNullCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchAwaitCodec.RequestParameters params = CountDownLatchAwaitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchCountDownCodec.RequestParameters params = CountDownLatchCountDownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchGetCountCodec.RequestParameters params = CountDownLatchGetCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchTrySetCountCodec.RequestParameters params = CountDownLatchTrySetCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.count));
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreInitCodec.RequestParameters params = SemaphoreInitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.permits));
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAcquireCodec.RequestParameters params = SemaphoreAcquireCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.permits));
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAvailablePermitsCodec.RequestParameters params = SemaphoreAvailablePermitsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreDrainPermitsCodec.RequestParameters params = SemaphoreDrainPermitsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReducePermitsCodec.RequestParameters params = SemaphoreReducePermitsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.reduction));
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReleaseCodec.RequestParameters params = SemaphoreReleaseCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.permits));
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreTryAcquireCodec.RequestParameters params = SemaphoreTryAcquireCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.permits));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutCodec.RequestParameters params = ReplicatedMapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapSizeCodec.RequestParameters params = ReplicatedMapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapIsEmptyCodec.RequestParameters params = ReplicatedMapIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsKeyCodec.RequestParameters params = ReplicatedMapContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsValueCodec.RequestParameters params = ReplicatedMapContainsValueCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapGetCodec.RequestParameters params = ReplicatedMapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveCodec.RequestParameters params = ReplicatedMapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutAllCodec.RequestParameters params = ReplicatedMapPutAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapClearCodec.RequestParameters params = ReplicatedMapClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.RequestParameters params = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerWithPredicateCodec.RequestParameters params = ReplicatedMapAddEntryListenerWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyCodec.RequestParameters params = ReplicatedMapAddEntryListenerToKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerCodec.RequestParameters params = ReplicatedMapAddEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveEntryListenerCodec.RequestParameters params = ReplicatedMapRemoveEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapKeySetCodec.RequestParameters params = ReplicatedMapKeySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapValuesCodec.RequestParameters params = ReplicatedMapValuesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapEntrySetCodec.RequestParameters params = ReplicatedMapEntrySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddNearCacheEntryListenerCodec.RequestParameters params = ReplicatedMapAddNearCacheEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceCancelCodec.RequestParameters params = MapReduceCancelCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceJobProcessInformationCodec.RequestParameters params = MapReduceJobProcessInformationCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeResponse(jobPartitionStates, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMapCodec.RequestParameters params = MapReduceForMapCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForListCodec.RequestParameters params = MapReduceForListCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aString, params.listName));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForSetCodec.RequestParameters params = MapReduceForSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aString, params.setName));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMultiMapCodec.RequestParameters params = MapReduceForMultiMapCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aString, params.multiMapName));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForCustomCodec.RequestParameters params = MapReduceForCustomCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aData, params.keyValueSource));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapContainsKeyCodec.RequestParameters params = TransactionalMapContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetCodec.RequestParameters params = TransactionalMapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetForUpdateCodec.RequestParameters params = TransactionalMapGetForUpdateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSizeCodec.RequestParameters params = TransactionalMapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapIsEmptyCodec.RequestParameters params = TransactionalMapIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutCodec.RequestParameters params = TransactionalMapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSetCodec.RequestParameters params = TransactionalMapSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutIfAbsentCodec.RequestParameters params = TransactionalMapPutIfAbsentCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceCodec.RequestParameters params = TransactionalMapReplaceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceIfSameCodec.RequestParameters params = TransactionalMapReplaceIfSameCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.oldValue));
        assertTrue(isEqual(aData, params.newValue));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveCodec.RequestParameters params = TransactionalMapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapDeleteCodec.RequestParameters params = TransactionalMapDeleteCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveIfSameCodec.RequestParameters params = TransactionalMapRemoveIfSameCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetCodec.RequestParameters params = TransactionalMapKeySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetWithPredicateCodec.RequestParameters params = TransactionalMapKeySetWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesCodec.RequestParameters params = TransactionalMapValuesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesWithPredicateCodec.RequestParameters params = TransactionalMapValuesWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapPutCodec.RequestParameters params = TransactionalMultiMapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapGetCodec.RequestParameters params = TransactionalMultiMapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveCodec.RequestParameters params = TransactionalMultiMapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveEntryCodec.RequestParameters params = TransactionalMultiMapRemoveEntryCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapValueCountCodec.RequestParameters params = TransactionalMultiMapValueCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapSizeCodec.RequestParameters params = TransactionalMultiMapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetAddCodec.RequestParameters params = TransactionalSetAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetRemoveCodec.RequestParameters params = TransactionalSetRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetSizeCodec.RequestParameters params = TransactionalSetSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListAddCodec.RequestParameters params = TransactionalListAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListRemoveCodec.RequestParameters params = TransactionalListRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListSizeCodec.RequestParameters params = TransactionalListSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueOfferCodec.RequestParameters params = TransactionalQueueOfferCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueTakeCodec.RequestParameters params = TransactionalQueueTakeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePollCodec.RequestParameters params = TransactionalQueuePollCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePeekCodec.RequestParameters params = TransactionalQueuePeekCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueSizeCodec.RequestParameters params = TransactionalQueueSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddEntryListenerCodec.RequestParameters params = CacheAddEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeCacheEvent(anInt, cacheEventDatas, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddInvalidationListenerCodec.RequestParameters params = CacheAddInvalidationListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        {
            ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeCacheInvalidationEvent(aString, null, null, aUUID, aLong);
            int length = inputStream.readInt();
            // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
            // (version 1.4), only the bytes after frame length fields are compared
            int frameLength = clientMessage.getFrameLength();
            assertTrue(frameLength >= length);
            inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
            byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
        }
        {
            ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeCacheBatchInvalidationEvent(aString, datas, null, uuids, longs);
            int length = inputStream.readInt();
            // Since the test is generated for protocol version (1.1) which is earlier than latest change in the message
            // (version 1.4), only the bytes after frame length fields are compared
            int frameLength = clientMessage.getFrameLength();
            assertTrue(frameLength >= length);
            inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
            byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheClearCodec.RequestParameters params = CacheClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllKeysCodec.RequestParameters params = CacheRemoveAllKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllCodec.RequestParameters params = CacheRemoveAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheContainsKeyCodec.RequestParameters params = CacheContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheCreateConfigCodec.RequestParameters params = CacheCreateConfigCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aData, params.cacheConfig));
        assertTrue(isEqual(aBoolean, params.createAlsoOnOthers));
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheDestroyCodec.RequestParameters params = CacheDestroyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheEntryProcessorCodec.RequestParameters params = CacheEntryProcessorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(datas, params.arguments));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAllCodec.RequestParameters params = CacheGetAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
        assertTrue(isEqual(null, params.expiryPolicy));
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndRemoveCodec.RequestParameters params = CacheGetAndRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndReplaceCodec.RequestParameters params = CacheGetAndReplaceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetConfigCodec.RequestParameters params = CacheGetConfigCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.simpleName));
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetCodec.RequestParameters params = CacheGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(null, params.expiryPolicy));
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateCodec.RequestParameters params = CacheIterateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(anInt, params.batch));
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeResponse(anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheListenerRegistrationCodec.RequestParameters params = CacheListenerRegistrationCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.listenerConfig));
        assertTrue(isEqual(aBoolean, params.shouldRegister));
        assertTrue(isEqual(anAddress, params.address));
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheLoadAllCodec.RequestParameters params = CacheLoadAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
        assertTrue(isEqual(aBoolean, params.replaceExistingValues));
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheManagementConfigCodec.RequestParameters params = CacheManagementConfigCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.isStat));
        assertTrue(isEqual(aBoolean, params.enabled));
        assertTrue(isEqual(anAddress, params.address));
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutIfAbsentCodec.RequestParameters params = CachePutIfAbsentCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutCodec.RequestParameters params = CachePutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(aBoolean, params.get));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveEntryListenerCodec.RequestParameters params = CacheRemoveEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveInvalidationListenerCodec.RequestParameters params = CacheRemoveInvalidationListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveCodec.RequestParameters params = CacheRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(null, params.currentValue));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheReplaceCodec.RequestParameters params = CacheReplaceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(null, params.oldValue));
        assertTrue(isEqual(aData, params.newValue));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheSizeCodec.RequestParameters params = CacheSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddPartitionLostListenerCodec.RequestParameters params = CacheAddPartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeCachePartitionLostEvent(anInt, aString);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemovePartitionLostListenerCodec.RequestParameters params = CacheRemovePartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutAllCodec.RequestParameters params = CachePutAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aListOfEntry, params.entries));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateEntriesCodec.RequestParameters params = CacheIterateEntriesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(anInt, params.batch));
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeResponse(anInt, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionClearRemoteCodec.RequestParameters params = XATransactionClearRemoteCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anXid, params.xid));
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCollectTransactionsCodec.RequestParameters params = XATransactionCollectTransactionsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionFinalizeCodec.RequestParameters params = XATransactionFinalizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anXid, params.xid));
        assertTrue(isEqual(aBoolean, params.isCommit));
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCommitCodec.RequestParameters params = XATransactionCommitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
        assertTrue(isEqual(aBoolean, params.onePhase));
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCreateCodec.RequestParameters params = XATransactionCreateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anXid, params.xid));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionPrepareCodec.RequestParameters params = XATransactionPrepareCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionRollbackCodec.RequestParameters params = XATransactionRollbackCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCommitCodec.RequestParameters params = TransactionCommitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCreateCodec.RequestParameters params = TransactionCreateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.timeout));
        assertTrue(isEqual(anInt, params.durability));
        assertTrue(isEqual(anInt, params.transactionType));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionRollbackCodec.RequestParameters params = TransactionRollbackCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateWithValueCodec.RequestParameters params = ContinuousQueryPublisherCreateWithValueCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(anInt, params.batchSize));
        assertTrue(isEqual(anInt, params.bufferSize));
        assertTrue(isEqual(aLong, params.delaySeconds));
        assertTrue(isEqual(aBoolean, params.populate));
        assertTrue(isEqual(aBoolean, params.coalesce));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateCodec.RequestParameters params = ContinuousQueryPublisherCreateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(anInt, params.batchSize));
        assertTrue(isEqual(anInt, params.bufferSize));
        assertTrue(isEqual(aLong, params.delaySeconds));
        assertTrue(isEqual(aBoolean, params.populate));
        assertTrue(isEqual(aBoolean, params.coalesce));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryMadePublishableCodec.RequestParameters params = ContinuousQueryMadePublishableCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryAddListenerCodec.RequestParameters params = ContinuousQueryAddListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.listenerName));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeQueryCacheSingleEvent(aQueryCacheEventData);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
        {
            ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeQueryCacheBatchEvent(queryCacheEventDatas, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQuerySetReadCursorCodec.RequestParameters params = ContinuousQuerySetReadCursorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
        assertTrue(isEqual(aLong, params.sequence));
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryDestroyCacheCodec.RequestParameters params = ContinuousQueryDestroyCacheCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferSizeCodec.RequestParameters params = RingbufferSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferTailSequenceCodec.RequestParameters params = RingbufferTailSequenceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferHeadSequenceCodec.RequestParameters params = RingbufferHeadSequenceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferCapacityCodec.RequestParameters params = RingbufferCapacityCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferRemainingCapacityCodec.RequestParameters params = RingbufferRemainingCapacityCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddCodec.RequestParameters params = RingbufferAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.overflowPolicy));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadOneCodec.RequestParameters params = RingbufferReadOneCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.sequence));
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddAllCodec.RequestParameters params = RingbufferAddAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.valueList));
        assertTrue(isEqual(anInt, params.overflowPolicy));
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadManyCodec.RequestParameters params = RingbufferReadManyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.startSequence));
        assertTrue(isEqual(anInt, params.minCount));
        assertTrue(isEqual(anInt, params.maxCount));
        assertTrue(isEqual(null, params.filter));
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeResponse(anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorShutdownCodec.RequestParameters params = DurableExecutorShutdownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorIsShutdownCodec.RequestParameters params = DurableExecutorIsShutdownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorSubmitToPartitionCodec.RequestParameters params = DurableExecutorSubmitToPartitionCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.callable));
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveResultCodec.RequestParameters params = DurableExecutorRetrieveResultCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.sequence));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorDisposeResultCodec.RequestParameters params = DurableExecutorDisposeResultCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.sequence));
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveAndDisposeResultCodec.RequestParameters params = DurableExecutorRetrieveAndDisposeResultCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.sequence));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    inputStream.close();
    input.close();
}
Also used : DataInputStream(java.io.DataInputStream) InputStream(java.io.InputStream) SafeBuffer(com.hazelcast.client.impl.protocol.util.SafeBuffer) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage) DataInputStream(java.io.DataInputStream)

Example 34 with SafeBuffer

use of com.hazelcast.client.impl.protocol.util.SafeBuffer in project hazelcast by hazelcast.

the class ServerCompatibilityNullTest_1_3 method test.

@org.junit.Test
public void test() throws IOException {
    InputStream input = getClass().getResourceAsStream("/1.3.protocol.compatibility.null.binary");
    DataInputStream inputStream = new DataInputStream(input);
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCodec.RequestParameters params = ClientAuthenticationCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.username));
        assertTrue(isEqual(aString, params.password));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aBoolean, params.isOwnerConnection));
        assertTrue(isEqual(aString, params.clientType));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertTrue(isEqual(aString, params.clientHazelcastVersion));
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCodec.encodeResponse(aByte, null, null, null, aByte, aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAuthenticationCustomCodec.RequestParameters params = ClientAuthenticationCustomCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aData, params.credentials));
        assertTrue(isEqual(null, params.uuid));
        assertTrue(isEqual(null, params.ownerUuid));
        assertTrue(isEqual(aBoolean, params.isOwnerConnection));
        assertTrue(isEqual(aString, params.clientType));
        assertTrue(isEqual(aByte, params.serializationVersion));
        assertTrue(isEqual(aString, params.clientHazelcastVersion));
    }
    {
        ClientMessage clientMessage = ClientAuthenticationCustomCodec.encodeResponse(aByte, null, null, null, aByte, aString, null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddMembershipListenerCodec.RequestParameters params = ClientAddMembershipListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberEvent(aMember, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberListEvent(members);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
        {
            ClientMessage clientMessage = ClientAddMembershipListenerCodec.encodeMemberAttributeChangeEvent(aString, aString, anInt, null);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientCreateProxyCodec.RequestParameters params = ClientCreateProxyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.serviceName));
        assertTrue(isEqual(anAddress, params.target));
    }
    {
        ClientMessage clientMessage = ClientCreateProxyCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientDestroyProxyCodec.RequestParameters params = ClientDestroyProxyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.serviceName));
    }
    {
        ClientMessage clientMessage = ClientDestroyProxyCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetPartitionsCodec.RequestParameters params = ClientGetPartitionsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientGetPartitionsCodec.encodeResponse(aPartitionTable);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveAllListenersCodec.RequestParameters params = ClientRemoveAllListenersCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientRemoveAllListenersCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddPartitionLostListenerCodec.RequestParameters params = ClientAddPartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ClientAddPartitionLostListenerCodec.encodePartitionLostEvent(anInt, anInt, null);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemovePartitionLostListenerCodec.RequestParameters params = ClientRemovePartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = ClientRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientGetDistributedObjectsCodec.RequestParameters params = ClientGetDistributedObjectsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientGetDistributedObjectsCodec.encodeResponse(distributedObjectInfos);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientAddDistributedObjectListenerCodec.RequestParameters params = ClientAddDistributedObjectListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ClientAddDistributedObjectListenerCodec.encodeDistributedObjectEvent(aString, aString, aString);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientRemoveDistributedObjectListenerCodec.RequestParameters params = ClientRemoveDistributedObjectListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = ClientRemoveDistributedObjectListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ClientPingCodec.RequestParameters params = ClientPingCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = ClientPingCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutCodec.RequestParameters params = MapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = MapPutCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetCodec.RequestParameters params = MapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveCodec.RequestParameters params = MapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapRemoveCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceCodec.RequestParameters params = MapReplaceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapReplaceCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReplaceIfSameCodec.RequestParameters params = MapReplaceIfSameCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.testValue));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapReplaceIfSameCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsKeyCodec.RequestParameters params = MapContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapContainsValueCodec.RequestParameters params = MapContainsValueCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = MapContainsValueCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveIfSameCodec.RequestParameters params = MapRemoveIfSameCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapRemoveIfSameCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapDeleteCodec.RequestParameters params = MapDeleteCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapDeleteCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFlushCodec.RequestParameters params = MapFlushCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapFlushCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryRemoveCodec.RequestParameters params = MapTryRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = MapTryRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryPutCodec.RequestParameters params = MapTryPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = MapTryPutCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutTransientCodec.RequestParameters params = MapPutTransientCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = MapPutTransientCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutIfAbsentCodec.RequestParameters params = MapPutIfAbsentCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = MapPutIfAbsentCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSetCodec.RequestParameters params = MapSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = MapSetCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLockCodec.RequestParameters params = MapLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = MapLockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapTryLockCodec.RequestParameters params = MapTryLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.lease));
        assertTrue(isEqual(aLong, params.timeout));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = MapTryLockCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsLockedCodec.RequestParameters params = MapIsLockedCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = MapIsLockedCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapUnlockCodec.RequestParameters params = MapUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = MapUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddInterceptorCodec.RequestParameters params = MapAddInterceptorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.interceptor));
    }
    {
        ClientMessage clientMessage = MapAddInterceptorCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveInterceptorCodec.RequestParameters params = MapRemoveInterceptorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.id));
    }
    {
        ClientMessage clientMessage = MapRemoveInterceptorCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyWithPredicateCodec.RequestParameters params = MapAddEntryListenerToKeyWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerToKeyWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerWithPredicateCodec.RequestParameters params = MapAddEntryListenerWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerToKeyCodec.RequestParameters params = MapAddEntryListenerToKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddEntryListenerCodec.RequestParameters params = MapAddEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddNearCacheEntryListenerCodec.RequestParameters params = MapAddNearCacheEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.listenerFlags));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.3) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeIMapInvalidationEvent(null, aString, aUUID, aLong);
            int length = inputStream.readInt();
            // Since the test is generated for protocol version (1.3) which is earlier than latest change in the message
            // (version 1.4), only the bytes after frame length fields are compared
            int frameLength = clientMessage.getFrameLength();
            assertTrue(frameLength >= length);
            inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
            byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
        }
        {
            ClientMessage clientMessage = MapAddNearCacheEntryListenerCodec.encodeIMapBatchInvalidationEvent(datas, strings, uuids, longs);
            int length = inputStream.readInt();
            // Since the test is generated for protocol version (1.3) which is earlier than latest change in the message
            // (version 1.4), only the bytes after frame length fields are compared
            int frameLength = clientMessage.getFrameLength();
            assertTrue(frameLength >= length);
            inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
            byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemoveEntryListenerCodec.RequestParameters params = MapRemoveEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = MapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddPartitionLostListenerCodec.RequestParameters params = MapAddPartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MapAddPartitionLostListenerCodec.encodeMapPartitionLostEvent(anInt, aString);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapRemovePartitionLostListenerCodec.RequestParameters params = MapRemovePartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = MapRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetEntryViewCodec.RequestParameters params = MapGetEntryViewCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapGetEntryViewCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictCodec.RequestParameters params = MapEvictCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapEvictCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEvictAllCodec.RequestParameters params = MapEvictAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapEvictAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadAllCodec.RequestParameters params = MapLoadAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.replaceExistingValues));
    }
    {
        ClientMessage clientMessage = MapLoadAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapLoadGivenKeysCodec.RequestParameters params = MapLoadGivenKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
        assertTrue(isEqual(aBoolean, params.replaceExistingValues));
    }
    {
        ClientMessage clientMessage = MapLoadGivenKeysCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetCodec.RequestParameters params = MapKeySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapKeySetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapGetAllCodec.RequestParameters params = MapGetAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = MapGetAllCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesCodec.RequestParameters params = MapValuesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapValuesCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntrySetCodec.RequestParameters params = MapEntrySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapEntrySetCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPredicateCodec.RequestParameters params = MapKeySetWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPredicateCodec.RequestParameters params = MapValuesWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapValuesWithPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPredicateCodec.RequestParameters params = MapEntriesWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPredicateCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapAddIndexCodec.RequestParameters params = MapAddIndexCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.attribute));
        assertTrue(isEqual(aBoolean, params.ordered));
    }
    {
        ClientMessage clientMessage = MapAddIndexCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSizeCodec.RequestParameters params = MapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapIsEmptyCodec.RequestParameters params = MapIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapPutAllCodec.RequestParameters params = MapPutAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = MapPutAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearCodec.RequestParameters params = MapClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MapClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeyCodec.RequestParameters params = MapExecuteOnKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeyCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapSubmitToKeyCodec.RequestParameters params = MapSubmitToKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MapSubmitToKeyCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnAllKeysCodec.RequestParameters params = MapExecuteOnAllKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
    }
    {
        ClientMessage clientMessage = MapExecuteOnAllKeysCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteWithPredicateCodec.RequestParameters params = MapExecuteWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapExecuteWithPredicateCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapExecuteOnKeysCodec.RequestParameters params = MapExecuteOnKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(datas, params.keys));
    }
    {
        ClientMessage clientMessage = MapExecuteOnKeysCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapForceUnlockCodec.RequestParameters params = MapForceUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = MapForceUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapKeySetWithPagingPredicateCodec.RequestParameters params = MapKeySetWithPagingPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapKeySetWithPagingPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapValuesWithPagingPredicateCodec.RequestParameters params = MapValuesWithPagingPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapValuesWithPagingPredicateCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapEntriesWithPagingPredicateCodec.RequestParameters params = MapEntriesWithPagingPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = MapEntriesWithPagingPredicateCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapClearNearCacheCodec.RequestParameters params = MapClearNearCacheCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anAddress, params.target));
    }
    {
        ClientMessage clientMessage = MapClearNearCacheCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchKeysCodec.RequestParameters params = MapFetchKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(anInt, params.batch));
    }
    {
        ClientMessage clientMessage = MapFetchKeysCodec.encodeResponse(anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapFetchEntriesCodec.RequestParameters params = MapFetchEntriesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(anInt, params.batch));
    }
    {
        ClientMessage clientMessage = MapFetchEntriesCodec.encodeResponse(anInt, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapPutCodec.RequestParameters params = MultiMapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapPutCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapGetCodec.RequestParameters params = MultiMapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapGetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveCodec.RequestParameters params = MultiMapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapKeySetCodec.RequestParameters params = MultiMapKeySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapKeySetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValuesCodec.RequestParameters params = MultiMapValuesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapValuesCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapEntrySetCodec.RequestParameters params = MultiMapEntrySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapEntrySetCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsKeyCodec.RequestParameters params = MultiMapContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsValueCodec.RequestParameters params = MultiMapContainsValueCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = MultiMapContainsValueCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapContainsEntryCodec.RequestParameters params = MultiMapContainsEntryCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapContainsEntryCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapSizeCodec.RequestParameters params = MultiMapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapClearCodec.RequestParameters params = MultiMapClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = MultiMapClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapValueCountCodec.RequestParameters params = MultiMapValueCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapValueCountCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerToKeyCodec.RequestParameters params = MultiMapAddEntryListenerToKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MultiMapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapAddEntryListenerCodec.RequestParameters params = MultiMapAddEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = MultiMapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryListenerCodec.RequestParameters params = MultiMapRemoveEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapLockCodec.RequestParameters params = MultiMapLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.ttl));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = MultiMapLockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapTryLockCodec.RequestParameters params = MultiMapTryLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.lease));
        assertTrue(isEqual(aLong, params.timeout));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = MultiMapTryLockCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapIsLockedCodec.RequestParameters params = MultiMapIsLockedCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = MultiMapIsLockedCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapUnlockCodec.RequestParameters params = MultiMapUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = MultiMapUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapForceUnlockCodec.RequestParameters params = MultiMapForceUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = MultiMapForceUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MultiMapRemoveEntryCodec.RequestParameters params = MultiMapRemoveEntryCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = MultiMapRemoveEntryCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueOfferCodec.RequestParameters params = QueueOfferCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.timeoutMillis));
    }
    {
        ClientMessage clientMessage = QueueOfferCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePutCodec.RequestParameters params = QueuePutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = QueuePutCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueSizeCodec.RequestParameters params = QueueSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveCodec.RequestParameters params = QueueRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = QueueRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePollCodec.RequestParameters params = QueuePollCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.timeoutMillis));
    }
    {
        ClientMessage clientMessage = QueuePollCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueTakeCodec.RequestParameters params = QueueTakeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueTakeCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueuePeekCodec.RequestParameters params = QueuePeekCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueuePeekCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIteratorCodec.RequestParameters params = QueueIteratorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueIteratorCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToCodec.RequestParameters params = QueueDrainToCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueDrainToCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueDrainToMaxSizeCodec.RequestParameters params = QueueDrainToMaxSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.maxSize));
    }
    {
        ClientMessage clientMessage = QueueDrainToMaxSizeCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsCodec.RequestParameters params = QueueContainsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = QueueContainsCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueContainsAllCodec.RequestParameters params = QueueContainsAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.dataList));
    }
    {
        ClientMessage clientMessage = QueueContainsAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRemoveAllCodec.RequestParameters params = QueueCompareAndRemoveAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.dataList));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueCompareAndRetainAllCodec.RequestParameters params = QueueCompareAndRetainAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.dataList));
    }
    {
        ClientMessage clientMessage = QueueCompareAndRetainAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueClearCodec.RequestParameters params = QueueClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddAllCodec.RequestParameters params = QueueAddAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.dataList));
    }
    {
        ClientMessage clientMessage = QueueAddAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueAddListenerCodec.RequestParameters params = QueueAddListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = QueueAddListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = QueueAddListenerCodec.encodeItemEvent(null, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemoveListenerCodec.RequestParameters params = QueueRemoveListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = QueueRemoveListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueRemainingCapacityCodec.RequestParameters params = QueueRemainingCapacityCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueRemainingCapacityCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        QueueIsEmptyCodec.RequestParameters params = QueueIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = QueueIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicPublishCodec.RequestParameters params = TopicPublishCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.message));
    }
    {
        ClientMessage clientMessage = TopicPublishCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicAddMessageListenerCodec.RequestParameters params = TopicAddMessageListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = TopicAddMessageListenerCodec.encodeTopicEvent(aData, aLong, aString);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TopicRemoveMessageListenerCodec.RequestParameters params = TopicRemoveMessageListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = TopicRemoveMessageListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSizeCodec.RequestParameters params = ListSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsCodec.RequestParameters params = ListContainsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListContainsCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListContainsAllCodec.RequestParameters params = ListContainsAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = ListContainsAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddCodec.RequestParameters params = ListAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListAddCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveCodec.RequestParameters params = ListRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllCodec.RequestParameters params = ListAddAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.valueList));
    }
    {
        ClientMessage clientMessage = ListAddAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRemoveAllCodec.RequestParameters params = ListCompareAndRemoveAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = ListCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListCompareAndRetainAllCodec.RequestParameters params = ListCompareAndRetainAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = ListCompareAndRetainAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListClearCodec.RequestParameters params = ListClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetAllCodec.RequestParameters params = ListGetAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListGetAllCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddListenerCodec.RequestParameters params = ListAddListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ListAddListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ListAddListenerCodec.encodeItemEvent(null, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveListenerCodec.RequestParameters params = ListRemoveListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = ListRemoveListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIsEmptyCodec.RequestParameters params = ListIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddAllWithIndexCodec.RequestParameters params = ListAddAllWithIndexCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
        assertTrue(isEqual(datas, params.valueList));
    }
    {
        ClientMessage clientMessage = ListAddAllWithIndexCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListGetCodec.RequestParameters params = ListGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
    }
    {
        ClientMessage clientMessage = ListGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSetCodec.RequestParameters params = ListSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListSetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListAddWithIndexCodec.RequestParameters params = ListAddWithIndexCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListAddWithIndexCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListRemoveWithIndexCodec.RequestParameters params = ListRemoveWithIndexCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
    }
    {
        ClientMessage clientMessage = ListRemoveWithIndexCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListLastIndexOfCodec.RequestParameters params = ListLastIndexOfCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListLastIndexOfCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIndexOfCodec.RequestParameters params = ListIndexOfCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ListIndexOfCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListSubCodec.RequestParameters params = ListSubCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.from));
        assertTrue(isEqual(anInt, params.to));
    }
    {
        ClientMessage clientMessage = ListSubCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListIteratorCodec.RequestParameters params = ListIteratorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ListIteratorCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ListListIteratorCodec.RequestParameters params = ListListIteratorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.index));
    }
    {
        ClientMessage clientMessage = ListListIteratorCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetSizeCodec.RequestParameters params = SetSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SetSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsCodec.RequestParameters params = SetContainsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = SetContainsCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetContainsAllCodec.RequestParameters params = SetContainsAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.items));
    }
    {
        ClientMessage clientMessage = SetContainsAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddCodec.RequestParameters params = SetAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = SetAddCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveCodec.RequestParameters params = SetRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = SetRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddAllCodec.RequestParameters params = SetAddAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.valueList));
    }
    {
        ClientMessage clientMessage = SetAddAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRemoveAllCodec.RequestParameters params = SetCompareAndRemoveAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = SetCompareAndRemoveAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetCompareAndRetainAllCodec.RequestParameters params = SetCompareAndRetainAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.values));
    }
    {
        ClientMessage clientMessage = SetCompareAndRetainAllCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetClearCodec.RequestParameters params = SetClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SetClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetGetAllCodec.RequestParameters params = SetGetAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SetGetAllCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetAddListenerCodec.RequestParameters params = SetAddListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = SetAddListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = SetAddListenerCodec.encodeItemEvent(null, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetRemoveListenerCodec.RequestParameters params = SetRemoveListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = SetRemoveListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SetIsEmptyCodec.RequestParameters params = SetIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SetIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedCodec.RequestParameters params = LockIsLockedCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = LockIsLockedCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockIsLockedByCurrentThreadCodec.RequestParameters params = LockIsLockedByCurrentThreadCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = LockIsLockedByCurrentThreadCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetLockCountCodec.RequestParameters params = LockGetLockCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = LockGetLockCountCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockGetRemainingLeaseTimeCodec.RequestParameters params = LockGetRemainingLeaseTimeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = LockGetRemainingLeaseTimeCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockLockCodec.RequestParameters params = LockLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.leaseTime));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = LockLockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockUnlockCodec.RequestParameters params = LockUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = LockUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockForceUnlockCodec.RequestParameters params = LockForceUnlockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = LockForceUnlockCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        LockTryLockCodec.RequestParameters params = LockTryLockCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.lease));
        assertTrue(isEqual(aLong, params.timeout));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = LockTryLockCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionAwaitCodec.RequestParameters params = ConditionAwaitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
        assertTrue(isEqual(aString, params.lockName));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = ConditionAwaitCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionBeforeAwaitCodec.RequestParameters params = ConditionBeforeAwaitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aString, params.lockName));
        assertTrue(isEqual(aLong, params.referenceId));
    }
    {
        ClientMessage clientMessage = ConditionBeforeAwaitCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalCodec.RequestParameters params = ConditionSignalCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aString, params.lockName));
    }
    {
        ClientMessage clientMessage = ConditionSignalCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ConditionSignalAllCodec.RequestParameters params = ConditionSignalAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aString, params.lockName));
    }
    {
        ClientMessage clientMessage = ConditionSignalAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceShutdownCodec.RequestParameters params = ExecutorServiceShutdownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ExecutorServiceShutdownCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceIsShutdownCodec.RequestParameters params = ExecutorServiceIsShutdownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ExecutorServiceIsShutdownCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnPartitionCodec.RequestParameters params = ExecutorServiceCancelOnPartitionCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.uuid));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(aBoolean, params.interrupt));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnPartitionCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceCancelOnAddressCodec.RequestParameters params = ExecutorServiceCancelOnAddressCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.uuid));
        assertTrue(isEqual(anAddress, params.address));
        assertTrue(isEqual(aBoolean, params.interrupt));
    }
    {
        ClientMessage clientMessage = ExecutorServiceCancelOnAddressCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToPartitionCodec.RequestParameters params = ExecutorServiceSubmitToPartitionCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.uuid));
        assertTrue(isEqual(aData, params.callable));
        assertTrue(isEqual(anInt, params.partitionId));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToPartitionCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ExecutorServiceSubmitToAddressCodec.RequestParameters params = ExecutorServiceSubmitToAddressCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.uuid));
        assertTrue(isEqual(aData, params.callable));
        assertTrue(isEqual(anAddress, params.address));
    }
    {
        ClientMessage clientMessage = ExecutorServiceSubmitToAddressCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongApplyCodec.RequestParameters params = AtomicLongApplyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicLongApplyCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterCodec.RequestParameters params = AtomicLongAlterCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAlterAndGetCodec.RequestParameters params = AtomicLongAlterAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicLongAlterAndGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAlterCodec.RequestParameters params = AtomicLongGetAndAlterCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAlterCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongAddAndGetCodec.RequestParameters params = AtomicLongAddAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.delta));
    }
    {
        ClientMessage clientMessage = AtomicLongAddAndGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongCompareAndSetCodec.RequestParameters params = AtomicLongCompareAndSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.expected));
        assertTrue(isEqual(aLong, params.updated));
    }
    {
        ClientMessage clientMessage = AtomicLongCompareAndSetCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongDecrementAndGetCodec.RequestParameters params = AtomicLongDecrementAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicLongDecrementAndGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetCodec.RequestParameters params = AtomicLongGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicLongGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndAddCodec.RequestParameters params = AtomicLongGetAndAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.delta));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndAddCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndSetCodec.RequestParameters params = AtomicLongGetAndSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndSetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongIncrementAndGetCodec.RequestParameters params = AtomicLongIncrementAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicLongIncrementAndGetCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongGetAndIncrementCodec.RequestParameters params = AtomicLongGetAndIncrementCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicLongGetAndIncrementCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicLongSetCodec.RequestParameters params = AtomicLongSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicLongSetCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceApplyCodec.RequestParameters params = AtomicReferenceApplyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicReferenceApplyCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterCodec.RequestParameters params = AtomicReferenceAlterCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceAlterAndGetCodec.RequestParameters params = AtomicReferenceAlterAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicReferenceAlterAndGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndAlterCodec.RequestParameters params = AtomicReferenceGetAndAlterCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.function));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndAlterCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceContainsCodec.RequestParameters params = AtomicReferenceContainsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.expected));
    }
    {
        ClientMessage clientMessage = AtomicReferenceContainsCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceCompareAndSetCodec.RequestParameters params = AtomicReferenceCompareAndSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.expected));
        assertTrue(isEqual(null, params.updated));
    }
    {
        ClientMessage clientMessage = AtomicReferenceCompareAndSetCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetCodec.RequestParameters params = AtomicReferenceGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetCodec.RequestParameters params = AtomicReferenceSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceClearCodec.RequestParameters params = AtomicReferenceClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicReferenceClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceGetAndSetCodec.RequestParameters params = AtomicReferenceGetAndSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicReferenceGetAndSetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceSetAndGetCodec.RequestParameters params = AtomicReferenceSetAndGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(null, params.newValue));
    }
    {
        ClientMessage clientMessage = AtomicReferenceSetAndGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        AtomicReferenceIsNullCodec.RequestParameters params = AtomicReferenceIsNullCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = AtomicReferenceIsNullCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchAwaitCodec.RequestParameters params = CountDownLatchAwaitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = CountDownLatchAwaitCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchCountDownCodec.RequestParameters params = CountDownLatchCountDownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CountDownLatchCountDownCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchGetCountCodec.RequestParameters params = CountDownLatchGetCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CountDownLatchGetCountCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CountDownLatchTrySetCountCodec.RequestParameters params = CountDownLatchTrySetCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.count));
    }
    {
        ClientMessage clientMessage = CountDownLatchTrySetCountCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreInitCodec.RequestParameters params = SemaphoreInitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.permits));
    }
    {
        ClientMessage clientMessage = SemaphoreInitCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAcquireCodec.RequestParameters params = SemaphoreAcquireCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.permits));
    }
    {
        ClientMessage clientMessage = SemaphoreAcquireCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreAvailablePermitsCodec.RequestParameters params = SemaphoreAvailablePermitsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SemaphoreAvailablePermitsCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreDrainPermitsCodec.RequestParameters params = SemaphoreDrainPermitsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = SemaphoreDrainPermitsCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReducePermitsCodec.RequestParameters params = SemaphoreReducePermitsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.reduction));
    }
    {
        ClientMessage clientMessage = SemaphoreReducePermitsCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreReleaseCodec.RequestParameters params = SemaphoreReleaseCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.permits));
    }
    {
        ClientMessage clientMessage = SemaphoreReleaseCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        SemaphoreTryAcquireCodec.RequestParameters params = SemaphoreTryAcquireCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.permits));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = SemaphoreTryAcquireCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutCodec.RequestParameters params = ReplicatedMapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapSizeCodec.RequestParameters params = ReplicatedMapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapIsEmptyCodec.RequestParameters params = ReplicatedMapIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsKeyCodec.RequestParameters params = ReplicatedMapContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapContainsValueCodec.RequestParameters params = ReplicatedMapContainsValueCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = ReplicatedMapContainsValueCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapGetCodec.RequestParameters params = ReplicatedMapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = ReplicatedMapGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveCodec.RequestParameters params = ReplicatedMapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapPutAllCodec.RequestParameters params = ReplicatedMapPutAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aListOfEntry, params.entries));
    }
    {
        ClientMessage clientMessage = ReplicatedMapPutAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapClearCodec.RequestParameters params = ReplicatedMapClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.RequestParameters params = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerWithPredicateCodec.RequestParameters params = ReplicatedMapAddEntryListenerWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerWithPredicateCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerToKeyCodec.RequestParameters params = ReplicatedMapAddEntryListenerToKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerToKeyCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddEntryListenerCodec.RequestParameters params = ReplicatedMapAddEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapRemoveEntryListenerCodec.RequestParameters params = ReplicatedMapRemoveEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = ReplicatedMapRemoveEntryListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapKeySetCodec.RequestParameters params = ReplicatedMapKeySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapKeySetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapValuesCodec.RequestParameters params = ReplicatedMapValuesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapValuesCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapEntrySetCodec.RequestParameters params = ReplicatedMapEntrySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = ReplicatedMapEntrySetCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ReplicatedMapAddNearCacheEntryListenerCodec.RequestParameters params = ReplicatedMapAddNearCacheEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.includeValue));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ReplicatedMapAddNearCacheEntryListenerCodec.encodeEntryEvent(null, null, null, null, anInt, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceCancelCodec.RequestParameters params = MapReduceCancelCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
    }
    {
        ClientMessage clientMessage = MapReduceCancelCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceJobProcessInformationCodec.RequestParameters params = MapReduceJobProcessInformationCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
    }
    {
        ClientMessage clientMessage = MapReduceJobProcessInformationCodec.encodeResponse(jobPartitionStates, anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMapCodec.RequestParameters params = MapReduceForMapCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForMapCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForListCodec.RequestParameters params = MapReduceForListCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aString, params.listName));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForListCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForSetCodec.RequestParameters params = MapReduceForSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aString, params.setName));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForSetCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForMultiMapCodec.RequestParameters params = MapReduceForMultiMapCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aString, params.multiMapName));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForMultiMapCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        MapReduceForCustomCodec.RequestParameters params = MapReduceForCustomCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.jobId));
        assertTrue(isEqual(null, params.predicate));
        assertTrue(isEqual(aData, params.mapper));
        assertTrue(isEqual(null, params.combinerFactory));
        assertTrue(isEqual(null, params.reducerFactory));
        assertTrue(isEqual(aData, params.keyValueSource));
        assertTrue(isEqual(anInt, params.chunkSize));
        assertTrue(isEqual(null, params.keys));
        assertTrue(isEqual(null, params.topologyChangedStrategy));
    }
    {
        ClientMessage clientMessage = MapReduceForCustomCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapContainsKeyCodec.RequestParameters params = TransactionalMapContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetCodec.RequestParameters params = TransactionalMapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapGetForUpdateCodec.RequestParameters params = TransactionalMapGetForUpdateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapGetForUpdateCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSizeCodec.RequestParameters params = TransactionalMapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapIsEmptyCodec.RequestParameters params = TransactionalMapIsEmptyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMapIsEmptyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutCodec.RequestParameters params = TransactionalMapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(aLong, params.ttl));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapSetCodec.RequestParameters params = TransactionalMapSetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMapSetCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapPutIfAbsentCodec.RequestParameters params = TransactionalMapPutIfAbsentCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMapPutIfAbsentCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceCodec.RequestParameters params = TransactionalMapReplaceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapReplaceIfSameCodec.RequestParameters params = TransactionalMapReplaceIfSameCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.oldValue));
        assertTrue(isEqual(aData, params.newValue));
    }
    {
        ClientMessage clientMessage = TransactionalMapReplaceIfSameCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveCodec.RequestParameters params = TransactionalMapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapDeleteCodec.RequestParameters params = TransactionalMapDeleteCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMapDeleteCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapRemoveIfSameCodec.RequestParameters params = TransactionalMapRemoveIfSameCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMapRemoveIfSameCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetCodec.RequestParameters params = TransactionalMapKeySetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapKeySetWithPredicateCodec.RequestParameters params = TransactionalMapKeySetWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = TransactionalMapKeySetWithPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesCodec.RequestParameters params = TransactionalMapValuesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMapValuesWithPredicateCodec.RequestParameters params = TransactionalMapValuesWithPredicateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.predicate));
    }
    {
        ClientMessage clientMessage = TransactionalMapValuesWithPredicateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapPutCodec.RequestParameters params = TransactionalMultiMapPutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapPutCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapGetCodec.RequestParameters params = TransactionalMultiMapGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapGetCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveCodec.RequestParameters params = TransactionalMultiMapRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapRemoveEntryCodec.RequestParameters params = TransactionalMultiMapRemoveEntryCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapRemoveEntryCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapValueCountCodec.RequestParameters params = TransactionalMultiMapValueCountCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapValueCountCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalMultiMapSizeCodec.RequestParameters params = TransactionalMultiMapSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalMultiMapSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetAddCodec.RequestParameters params = TransactionalSetAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
    }
    {
        ClientMessage clientMessage = TransactionalSetAddCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetRemoveCodec.RequestParameters params = TransactionalSetRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
    }
    {
        ClientMessage clientMessage = TransactionalSetRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalSetSizeCodec.RequestParameters params = TransactionalSetSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalSetSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListAddCodec.RequestParameters params = TransactionalListAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
    }
    {
        ClientMessage clientMessage = TransactionalListAddCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListRemoveCodec.RequestParameters params = TransactionalListRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
    }
    {
        ClientMessage clientMessage = TransactionalListRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalListSizeCodec.RequestParameters params = TransactionalListSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalListSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueOfferCodec.RequestParameters params = TransactionalQueueOfferCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aData, params.item));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = TransactionalQueueOfferCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueTakeCodec.RequestParameters params = TransactionalQueueTakeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalQueueTakeCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePollCodec.RequestParameters params = TransactionalQueuePollCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePollCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueuePeekCodec.RequestParameters params = TransactionalQueuePeekCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = TransactionalQueuePeekCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionalQueueSizeCodec.RequestParameters params = TransactionalQueueSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.txnId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionalQueueSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddEntryListenerCodec.RequestParameters params = CacheAddEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = CacheAddEntryListenerCodec.encodeCacheEvent(anInt, cacheEventDatas, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddInvalidationListenerCodec.RequestParameters params = CacheAddInvalidationListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        // Since the test is generated for protocol version (1.3) which is earlier than latest change in the message
        // (version 1.4), only the bytes after frame length fields are compared
        int frameLength = clientMessage.getFrameLength();
        assertTrue(frameLength >= length);
        inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
        byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
    }
    {
        {
            ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeCacheInvalidationEvent(aString, null, null, aUUID, aLong);
            int length = inputStream.readInt();
            // Since the test is generated for protocol version (1.3) which is earlier than latest change in the message
            // (version 1.4), only the bytes after frame length fields are compared
            int frameLength = clientMessage.getFrameLength();
            assertTrue(frameLength >= length);
            inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
            byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
        }
        {
            ClientMessage clientMessage = CacheAddInvalidationListenerCodec.encodeCacheBatchInvalidationEvent(aString, datas, null, uuids, longs);
            int length = inputStream.readInt();
            // Since the test is generated for protocol version (1.3) which is earlier than latest change in the message
            // (version 1.4), only the bytes after frame length fields are compared
            int frameLength = clientMessage.getFrameLength();
            assertTrue(frameLength >= length);
            inputStream.skipBytes(FRAME_LEN_FIELD_SIZE);
            byte[] bytes = new byte[length - FRAME_LEN_FIELD_SIZE];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOfRange(clientMessage.buffer().byteArray(), FRAME_LEN_FIELD_SIZE, length), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheClearCodec.RequestParameters params = CacheClearCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CacheClearCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllKeysCodec.RequestParameters params = CacheRemoveAllKeysCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllKeysCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveAllCodec.RequestParameters params = CacheRemoveAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheRemoveAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheContainsKeyCodec.RequestParameters params = CacheContainsKeyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
    }
    {
        ClientMessage clientMessage = CacheContainsKeyCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheCreateConfigCodec.RequestParameters params = CacheCreateConfigCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aData, params.cacheConfig));
        assertTrue(isEqual(aBoolean, params.createAlsoOnOthers));
    }
    {
        ClientMessage clientMessage = CacheCreateConfigCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheDestroyCodec.RequestParameters params = CacheDestroyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CacheDestroyCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheEntryProcessorCodec.RequestParameters params = CacheEntryProcessorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.entryProcessor));
        assertTrue(isEqual(datas, params.arguments));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheEntryProcessorCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAllCodec.RequestParameters params = CacheGetAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
        assertTrue(isEqual(null, params.expiryPolicy));
    }
    {
        ClientMessage clientMessage = CacheGetAllCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndRemoveCodec.RequestParameters params = CacheGetAndRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheGetAndRemoveCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetAndReplaceCodec.RequestParameters params = CacheGetAndReplaceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheGetAndReplaceCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetConfigCodec.RequestParameters params = CacheGetConfigCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.simpleName));
    }
    {
        ClientMessage clientMessage = CacheGetConfigCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheGetCodec.RequestParameters params = CacheGetCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(null, params.expiryPolicy));
    }
    {
        ClientMessage clientMessage = CacheGetCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateCodec.RequestParameters params = CacheIterateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(anInt, params.batch));
    }
    {
        ClientMessage clientMessage = CacheIterateCodec.encodeResponse(anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheListenerRegistrationCodec.RequestParameters params = CacheListenerRegistrationCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.listenerConfig));
        assertTrue(isEqual(aBoolean, params.shouldRegister));
        assertTrue(isEqual(anAddress, params.address));
    }
    {
        ClientMessage clientMessage = CacheListenerRegistrationCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheLoadAllCodec.RequestParameters params = CacheLoadAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.keys));
        assertTrue(isEqual(aBoolean, params.replaceExistingValues));
    }
    {
        ClientMessage clientMessage = CacheLoadAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheManagementConfigCodec.RequestParameters params = CacheManagementConfigCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.isStat));
        assertTrue(isEqual(aBoolean, params.enabled));
        assertTrue(isEqual(anAddress, params.address));
    }
    {
        ClientMessage clientMessage = CacheManagementConfigCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutIfAbsentCodec.RequestParameters params = CachePutIfAbsentCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CachePutIfAbsentCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutCodec.RequestParameters params = CachePutCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(aData, params.value));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(aBoolean, params.get));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CachePutCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveEntryListenerCodec.RequestParameters params = CacheRemoveEntryListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = CacheRemoveEntryListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveInvalidationListenerCodec.RequestParameters params = CacheRemoveInvalidationListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = CacheRemoveInvalidationListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemoveCodec.RequestParameters params = CacheRemoveCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(null, params.currentValue));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheRemoveCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheReplaceCodec.RequestParameters params = CacheReplaceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.key));
        assertTrue(isEqual(null, params.oldValue));
        assertTrue(isEqual(aData, params.newValue));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CacheReplaceCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheSizeCodec.RequestParameters params = CacheSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CacheSizeCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheAddPartitionLostListenerCodec.RequestParameters params = CacheAddPartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = CacheAddPartitionLostListenerCodec.encodeCachePartitionLostEvent(anInt, aString);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheRemovePartitionLostListenerCodec.RequestParameters params = CacheRemovePartitionLostListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aString, params.registrationId));
    }
    {
        ClientMessage clientMessage = CacheRemovePartitionLostListenerCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CachePutAllCodec.RequestParameters params = CachePutAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aListOfEntry, params.entries));
        assertTrue(isEqual(null, params.expiryPolicy));
        assertTrue(isEqual(anInt, params.completionId));
    }
    {
        ClientMessage clientMessage = CachePutAllCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CacheIterateEntriesCodec.RequestParameters params = CacheIterateEntriesCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.partitionId));
        assertTrue(isEqual(anInt, params.tableIndex));
        assertTrue(isEqual(anInt, params.batch));
    }
    {
        ClientMessage clientMessage = CacheIterateEntriesCodec.encodeResponse(anInt, aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionClearRemoteCodec.RequestParameters params = XATransactionClearRemoteCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anXid, params.xid));
    }
    {
        ClientMessage clientMessage = XATransactionClearRemoteCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCollectTransactionsCodec.RequestParameters params = XATransactionCollectTransactionsCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
    }
    {
        ClientMessage clientMessage = XATransactionCollectTransactionsCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionFinalizeCodec.RequestParameters params = XATransactionFinalizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anXid, params.xid));
        assertTrue(isEqual(aBoolean, params.isCommit));
    }
    {
        ClientMessage clientMessage = XATransactionFinalizeCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCommitCodec.RequestParameters params = XATransactionCommitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
        assertTrue(isEqual(aBoolean, params.onePhase));
    }
    {
        ClientMessage clientMessage = XATransactionCommitCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionCreateCodec.RequestParameters params = XATransactionCreateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(anXid, params.xid));
        assertTrue(isEqual(aLong, params.timeout));
    }
    {
        ClientMessage clientMessage = XATransactionCreateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionPrepareCodec.RequestParameters params = XATransactionPrepareCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
    }
    {
        ClientMessage clientMessage = XATransactionPrepareCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        XATransactionRollbackCodec.RequestParameters params = XATransactionRollbackCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
    }
    {
        ClientMessage clientMessage = XATransactionRollbackCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCommitCodec.RequestParameters params = TransactionCommitCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionCommitCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionCreateCodec.RequestParameters params = TransactionCreateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aLong, params.timeout));
        assertTrue(isEqual(anInt, params.durability));
        assertTrue(isEqual(anInt, params.transactionType));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionCreateCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        TransactionRollbackCodec.RequestParameters params = TransactionRollbackCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.transactionId));
        assertTrue(isEqual(aLong, params.threadId));
    }
    {
        ClientMessage clientMessage = TransactionRollbackCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateWithValueCodec.RequestParameters params = ContinuousQueryPublisherCreateWithValueCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(anInt, params.batchSize));
        assertTrue(isEqual(anInt, params.bufferSize));
        assertTrue(isEqual(aLong, params.delaySeconds));
        assertTrue(isEqual(aBoolean, params.populate));
        assertTrue(isEqual(aBoolean, params.coalesce));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateWithValueCodec.encodeResponse(aListOfEntry);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryPublisherCreateCodec.RequestParameters params = ContinuousQueryPublisherCreateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
        assertTrue(isEqual(aData, params.predicate));
        assertTrue(isEqual(anInt, params.batchSize));
        assertTrue(isEqual(anInt, params.bufferSize));
        assertTrue(isEqual(aLong, params.delaySeconds));
        assertTrue(isEqual(aBoolean, params.populate));
        assertTrue(isEqual(aBoolean, params.coalesce));
    }
    {
        ClientMessage clientMessage = ContinuousQueryPublisherCreateCodec.encodeResponse(datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryMadePublishableCodec.RequestParameters params = ContinuousQueryMadePublishableCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
    }
    {
        ClientMessage clientMessage = ContinuousQueryMadePublishableCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryAddListenerCodec.RequestParameters params = ContinuousQueryAddListenerCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.listenerName));
        assertTrue(isEqual(aBoolean, params.localOnly));
    }
    {
        ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeResponse(aString);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        {
            ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeQueryCacheSingleEvent(aQueryCacheEventData);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
        {
            ClientMessage clientMessage = ContinuousQueryAddListenerCodec.encodeQueryCacheBatchEvent(queryCacheEventDatas, aString, anInt);
            int length = inputStream.readInt();
            byte[] bytes = new byte[length];
            inputStream.read(bytes);
            assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
        }
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQuerySetReadCursorCodec.RequestParameters params = ContinuousQuerySetReadCursorCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
        assertTrue(isEqual(aLong, params.sequence));
    }
    {
        ClientMessage clientMessage = ContinuousQuerySetReadCursorCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        ContinuousQueryDestroyCacheCodec.RequestParameters params = ContinuousQueryDestroyCacheCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.mapName));
        assertTrue(isEqual(aString, params.cacheName));
    }
    {
        ClientMessage clientMessage = ContinuousQueryDestroyCacheCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferSizeCodec.RequestParameters params = RingbufferSizeCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferSizeCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferTailSequenceCodec.RequestParameters params = RingbufferTailSequenceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferTailSequenceCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferHeadSequenceCodec.RequestParameters params = RingbufferHeadSequenceCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferHeadSequenceCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferCapacityCodec.RequestParameters params = RingbufferCapacityCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferCapacityCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferRemainingCapacityCodec.RequestParameters params = RingbufferRemainingCapacityCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = RingbufferRemainingCapacityCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddCodec.RequestParameters params = RingbufferAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.overflowPolicy));
        assertTrue(isEqual(aData, params.value));
    }
    {
        ClientMessage clientMessage = RingbufferAddCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadOneCodec.RequestParameters params = RingbufferReadOneCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.sequence));
    }
    {
        ClientMessage clientMessage = RingbufferReadOneCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferAddAllCodec.RequestParameters params = RingbufferAddAllCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(datas, params.valueList));
        assertTrue(isEqual(anInt, params.overflowPolicy));
    }
    {
        ClientMessage clientMessage = RingbufferAddAllCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        RingbufferReadManyCodec.RequestParameters params = RingbufferReadManyCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.startSequence));
        assertTrue(isEqual(anInt, params.minCount));
        assertTrue(isEqual(anInt, params.maxCount));
        assertTrue(isEqual(null, params.filter));
    }
    {
        ClientMessage clientMessage = RingbufferReadManyCodec.encodeResponse(anInt, datas);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorShutdownCodec.RequestParameters params = DurableExecutorShutdownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = DurableExecutorShutdownCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorIsShutdownCodec.RequestParameters params = DurableExecutorIsShutdownCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = DurableExecutorIsShutdownCodec.encodeResponse(aBoolean);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorSubmitToPartitionCodec.RequestParameters params = DurableExecutorSubmitToPartitionCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aData, params.callable));
    }
    {
        ClientMessage clientMessage = DurableExecutorSubmitToPartitionCodec.encodeResponse(anInt);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveResultCodec.RequestParameters params = DurableExecutorRetrieveResultCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.sequence));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveResultCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorDisposeResultCodec.RequestParameters params = DurableExecutorDisposeResultCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.sequence));
    }
    {
        ClientMessage clientMessage = DurableExecutorDisposeResultCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        DurableExecutorRetrieveAndDisposeResultCodec.RequestParameters params = DurableExecutorRetrieveAndDisposeResultCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(anInt, params.sequence));
    }
    {
        ClientMessage clientMessage = DurableExecutorRetrieveAndDisposeResultCodec.encodeResponse(null);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CardinalityEstimatorAddCodec.RequestParameters params = CardinalityEstimatorAddCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
        assertTrue(isEqual(aLong, params.hash));
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorAddCodec.encodeResponse();
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    {
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        CardinalityEstimatorEstimateCodec.RequestParameters params = CardinalityEstimatorEstimateCodec.decodeRequest(ClientMessage.createForDecode(new SafeBuffer(bytes), 0));
        assertTrue(isEqual(aString, params.name));
    }
    {
        ClientMessage clientMessage = CardinalityEstimatorEstimateCodec.encodeResponse(aLong);
        int length = inputStream.readInt();
        byte[] bytes = new byte[length];
        inputStream.read(bytes);
        assertTrue(isEqual(Arrays.copyOf(clientMessage.buffer().byteArray(), clientMessage.getFrameLength()), bytes));
    }
    inputStream.close();
    input.close();
}
Also used : DataInputStream(java.io.DataInputStream) InputStream(java.io.InputStream) SafeBuffer(com.hazelcast.client.impl.protocol.util.SafeBuffer) ClientMessage(com.hazelcast.client.impl.protocol.ClientMessage) DataInputStream(java.io.DataInputStream)

Example 35 with SafeBuffer

use of com.hazelcast.client.impl.protocol.util.SafeBuffer in project hazelcast by hazelcast.

the class FlyweightTest method setUp.

@Before
public void setUp() {
    byteBuffer = ByteBuffer.allocate(512);
    flyweight.wrap(new SafeBuffer(byteBuffer.array()), 0);
}
Also used : SafeBuffer(com.hazelcast.client.impl.protocol.util.SafeBuffer) Before(org.junit.Before)

Aggregations

SafeBuffer (com.hazelcast.client.impl.protocol.util.SafeBuffer)35 ClientMessage (com.hazelcast.client.impl.protocol.ClientMessage)29 DataInputStream (java.io.DataInputStream)20 InputStream (java.io.InputStream)20 ParallelTest (com.hazelcast.test.annotation.ParallelTest)12 QuickTest (com.hazelcast.test.annotation.QuickTest)12 Test (org.junit.Test)12 CacheEventData (com.hazelcast.cache.impl.CacheEventData)10 Member (com.hazelcast.core.Member)10 HeapData (com.hazelcast.internal.serialization.impl.HeapData)10 DefaultQueryCacheEventData (com.hazelcast.map.impl.querycache.event.DefaultQueryCacheEventData)10 QueryCacheEventData (com.hazelcast.map.impl.querycache.event.QueryCacheEventData)10 Address (com.hazelcast.nio.Address)10 Data (com.hazelcast.nio.serialization.Data)10 UnsafeBuffer (com.hazelcast.client.impl.protocol.util.UnsafeBuffer)2 ByteBuffer (java.nio.ByteBuffer)2 ClientProtocolBuffer (com.hazelcast.client.impl.protocol.util.ClientProtocolBuffer)1 Before (org.junit.Before)1 BeforeClass (org.junit.BeforeClass)1