Search in sources :

Example 1 with MiniBean

use of org.finos.symphony.toolkit.workflow.fixture.TestCollections.MiniBean in project spring-bot by finos.

the class TestFormCollectionsMessageML method createTestCollections.

private TestCollections createTestCollections() {
    MiniBean mb1 = new MiniBean("A String", 4973, Arrays.asList("Amsidh", "Rob"));
    MiniBean mb2 = new MiniBean("Another String", 45, Arrays.asList("Terry", "James"));
    MiniBean mb3 = new MiniBean("Thing 3", 8787, null);
    TestCollections out = new TestCollections(Arrays.asList("a", "b", "c"), Arrays.asList(Choice.A, Choice.B), Arrays.asList(mb1, mb2, mb3), Arrays.asList(new HashTag("abc"), new HashTag("def")));
    return out;
}
Also used : MiniBean(org.finos.symphony.toolkit.workflow.fixture.TestCollections.MiniBean) TestCollections(org.finos.symphony.toolkit.workflow.fixture.TestCollections) HashTag(org.finos.symphony.toolkit.workflow.sources.symphony.content.HashTag)

Aggregations

TestCollections (org.finos.symphony.toolkit.workflow.fixture.TestCollections)1 MiniBean (org.finos.symphony.toolkit.workflow.fixture.TestCollections.MiniBean)1 HashTag (org.finos.symphony.toolkit.workflow.sources.symphony.content.HashTag)1