Assert.assertEquals(true, remoteRest.isUseFormBasedAuth());
}
} else {
Assert.fail("couldn't find container, resources, remoteJms, or remoteRest");
}
PropertyModel bpm_property = bpm.getProperties().getProperties().get(0);
Assert.assertEquals("foo", bpm_property.getName());
Assert.assertEquals("bar", bpm_property.getValue());
UserGroupCallbackModel userGroupCallback = bpm.getUserGroupCallback();
Assert.assertEquals(TestUserGroupCallback.class, userGroupCallback.getClazz(loader));
PropertyModel ugc_property = userGroupCallback.getProperties().getProperties().get(0);
Assert.assertEquals("rab", ugc_property.getName());
Assert.assertEquals("oof", ugc_property.getValue());
WorkItemHandlerModel workItemHandler = bpm.getWorkItemHandlers().getWorkItemHandlers().get(0);
Assert.assertEquals(TestWorkItemHandler.class, workItemHandler.getClazz(loader));
Assert.assertEquals("MyWIH", workItemHandler.getName());
}