use of com.hazelcast.client.impl.protocol.codec.MCMatchMCConfigCodec in project hazelcast by hazelcast.
the class MCMessageTasksTest method testMatchMCConfigMessageTask.
@Test
public void testMatchMCConfigMessageTask() throws Exception {
ClientInvocation invocation = new ClientInvocation(getClientImpl(), MCMatchMCConfigCodec.encodeRequest(randomString()), null);
ClientDelegatingFuture<Boolean> future = new ClientDelegatingFuture<>(invocation.invoke(), getClientImpl().getSerializationService(), MCMatchMCConfigCodec::decodeResponse);
assertFalse(future.get(ASSERT_TRUE_EVENTUALLY_TIMEOUT, SECONDS));
}
Aggregations