private String getMemberId(final VM memberVM) {
    return memberVM.invoke("getMemberId",
        () -> managementTestRule.getDistributedMember().getId());
  }
Distributed tests for registering of custom mbean using composite types.
<p>

See User API {@link ManagementService#registerMBean(Object, ObjectName)}.
geode-core/src/distributedTest/java/org/apache/geode/management/CompositeTypeTestDUnitTest.java