  @Test
  public void processEngineConfigurationImplTest() {

    CamundaBpmConfiguration camundaBpmConfiguration = new CamundaBpmConfiguration();
    List<ProcessEnginePlugin> processEnginePlugins = createUnordedList();
    ProcessEngineConfigurationImpl processEngineConfigurationImpl = camundaBpmConfiguration.processEngineConfigurationImpl(processEnginePlugins);

    CompositeProcessEnginePlugin compositeProcessEnginePlugin = (CompositeProcessEnginePlugin) processEngineConfigurationImpl.getProcessEnginePlugins().get(0);
    assertThat(compositeProcessEnginePlugin.getPlugins()).isEqualTo(processEnginePlugins);
  }