Search in sources :

Example 1 with MessageBean

use of org.camunda.bpm.engine.cdi.test.impl.beans.MessageBean in project camunda-bpm-platform by camunda.

the class ElTest method testSetBeanProperty.

@Test
@Deployment
public void testSetBeanProperty() throws Exception {
    MessageBean messageBean = getBeanInstance(MessageBean.class);
    runtimeService.startProcessInstanceByKey("setBeanProperty");
    assertEquals("Greetings from Berlin", messageBean.getMessage());
}
Also used : MessageBean(org.camunda.bpm.engine.cdi.test.impl.beans.MessageBean) Test(org.junit.Test) Deployment(org.camunda.bpm.engine.test.Deployment)

Aggregations

MessageBean (org.camunda.bpm.engine.cdi.test.impl.beans.MessageBean)1 Deployment (org.camunda.bpm.engine.test.Deployment)1 Test (org.junit.Test)1