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