@Test
public void testClassLocator() throws IOException, InstanceNotFoundException, MBeanException, ReflectionException {

  Registry.export(Jmx.class);
  CompositeData info = (CompositeData) Client.callOperation(
          "service:jmx:rmi:///jndi/rmi://:9999/jmxrmi",
          Jmx.class.getPackage().getName(),
          Jmx.class.getSimpleName(), "getPackageInfo", Registry.class.getName());
  LOG.debug("Returned {}", info);
  Assert.assertNotNull(info);
}