<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans.xsd">

  <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
    <!--
    <property name="mailServerHost" value="localhost" />
    <property name="mailServerUsername" value="camunda" />
    <property name="mailServerPassword" value="camunda" />
    <property name="mailServerDefaultFrom" value="camunda@localhost" />
    <property name="mailServerPort" value="25" />
    -->
  </bean>

</beans>

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans.xsd">

  <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
    <property name="processEnginePlugins">
      <list>
        <bean class="org.example.incidents_as_tasks.IncidentAsTaskProcessEnginePlugin" />
      </list>
    </property>
  </bean>

</beans>

Add plugin to unit test configuration
Add plugin to unit test configuration
