public List<DistributedObjectInfo> getDistributedObjects() {
        return invokeRequestOnAnyMemberAndDecodeResponse(
                ClientGetDistributedObjectsCodec.encodeRequest(),
                ClientGetDistributedObjectsCodec::decodeResponse
        );
    }
@Test
    public void given_singleMapOnMember_when_getDistributedObjectsCalled_then_ReturnedObjectInfo() {
        // Given
        HazelcastInstance member = createHazelcastInstance();
        JetClientInstanceImpl client = (JetClientInstanceImpl) createHazelcastClient().getJet();
        String mapName = randomMapName();
        member.getMap(mapName);

        // When
        List<DistributedObjectInfo> objects = client.getDistributedObjects();

        // Then
        assertFalse(objects.isEmpty());
        DistributedObjectInfo info = objects.stream()
                .filter(i -> mapName.equals(i.getName()))
                .findFirst()
                .orElseThrow(AssertionError::new);
        assertEquals(MapService.SERVICE_NAME, info.getServiceName());
    }