public ClientInvocationFuture invoke() {
        clientMessage.setCorrelationId(callIdSequence.next());
        invokeOnSelection();
        return clientInvocationFuture;
    }
@Test
    public void invokeOnPartitionOwnerRedirectsToRandom_WhenPartitionOwnerIsnull() throws Exception {
        hazelcastFactory.newHazelcastInstance();
        HazelcastClientInstanceImpl client = getHazelcastClientInstanceImpl(hazelcastFactory.newHazelcastClient());

        ClientMessage request = MapSizeCodec.encodeRequest("test");
        int ownerlessPartition = 4000;
        ClientInvocation invocation = new ClientInvocation(client, request, "map", ownerlessPartition);
        assertEquals(0, MapSizeCodec.decodeResponse(invocation.invoke().get()));
    }