  @Test
  public void fire_preInit() throws Exception {

    camundaEventBus.register(new AbstractProcessEnginePlugin() {
      @Override
      public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) {
        processEngineConfiguration.getBeans();
      }
    });

    camundaEventBus.notify(ProcessEnginePluginEvent.preInit(processEngineConfiguration));

    verify(processEngineConfiguration).getBeans();
  }