use of org.finos.symphony.toolkit.workflow.fixture.WeirdObjectCollection in project spring-bot by finos.
the class TestFormMessageML method createNestedWeirdFieldsWorkResponse.
protected WorkResponse createNestedWeirdFieldsWorkResponse(WorkMode wm) {
SymphonyUser someUser = new SymphonyUser(2678l, "bob", "bob@example.com");
WeirdObject to4 = new WeirdObject();
to4.setB(true);
to4.setC(Choice.B);
to4.setSomeUser(someUser);
to4.setTheId(new HashTag("adf360dd-06fe-43a4-9a62-2c17fe2deefa"));
WeirdObjectCollection ob5 = new WeirdObjectCollection();
ob5.setOb4(to4);
WorkResponse wr = createWorkAddSubmit(wm, ob5);
return wr;
}
Aggregations