public ManagementService getManagementService() {
    assertThat(hasCache()).isTrue();
    return ManagementService.getManagementService(basicGetCache());
  }
Note: Overriding MethodRule is only way to get {@code Object target}
geode-core/src/distributedTest/java/org/apache/geode/management/ManagementTestRule.java