@Before
  public void setUp() {
    Properties config = new Properties();
    config.setProperty(DISABLE_JMX, "true");
    config.setProperty(LOCATORS, "");

    cache = (InternalCache) new CacheFactory(config).create();
  }
Integration test to ensure that Geode does not create MBeans when
{@link ConfigurationProperties#DISABLE_JMX} is set to true.
geode-core/src/integrationTest/java/org/apache/geode/management/DisableJmxIntegrationTest.java