Search in sources :

Example 1 with WeirdObjectCollection

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;
}
Also used : WeirdObject(org.finos.symphony.toolkit.workflow.fixture.WeirdObject) HashTag(org.finos.symphony.toolkit.workflow.sources.symphony.content.HashTag) WeirdObjectCollection(org.finos.symphony.toolkit.workflow.fixture.WeirdObjectCollection) WorkResponse(org.finos.symphony.toolkit.workflow.response.WorkResponse) SymphonyUser(org.finos.symphony.toolkit.workflow.sources.symphony.content.SymphonyUser)

Aggregations

WeirdObject (org.finos.symphony.toolkit.workflow.fixture.WeirdObject)1 WeirdObjectCollection (org.finos.symphony.toolkit.workflow.fixture.WeirdObjectCollection)1 WorkResponse (org.finos.symphony.toolkit.workflow.response.WorkResponse)1 HashTag (org.finos.symphony.toolkit.workflow.sources.symphony.content.HashTag)1 SymphonyUser (org.finos.symphony.toolkit.workflow.sources.symphony.content.SymphonyUser)1