@Test
  public void afterCreateVmIsInvokedForNewlyCreatedVm() {
    getVM(beforeVmCount);

    verify(distributedRule).afterCreateVM(eq(getVM(beforeVmCount)));
  }
Distributed tests for {@link VMEventListener} callbacks.
geode-dunit/src/distributedTest/java/org/apache/geode/test/dunit/rules/tests/VmEventListenerDistributedTest.java