Package com.papercut.silken.test

Examples of com.papercut.silken.test.ComplexPojo


        simplePojo = new SimplePojo();
        simplePojo.setBoolValue(false);
        simplePojo.setStringValue("simple-string");
        simplePojo.setIntValue(12345);
       
        complexPojo = new ComplexPojo();
       
        complexPojo.setIntArray(new int[] {1, 2, 3, 4, 5});
       
        complexPojo.setNestedSimplePojo(simplePojo);
       
        complexPojo.setNestedMapString(ImmutableMap.of("key1", "value1", "key2", "value2"));
       
        complexPojo.setNestedMapPojo(ImmutableMap.of("key1", simplePojo));
       
        complexPojo.setNestedListPojo(Lists.newArrayList(simplePojo));
       
        complexPojo.setNestedListSimple(Lists.newArrayList("a", "b", "c"));
       
       
        ComplexPojo complexPojo2 = new ComplexPojo();
        complexPojo2.setNestedListSimple(Lists.newArrayList("nested list value"));
        complexPojo2.setNestedSimplePojo(simplePojo);
       
        complexPojo.setNestedComplexPojo(complexPojo2);
    }
View Full Code Here

TOP

Related Classes of com.papercut.silken.test.ComplexPojo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.