Package cat.quickdb.complexDataStructure.model

Examples of cat.quickdb.complexDataStructure.model.MultipleCollectionsPrimitive


        Assert.assertTrue(mul2.getIndividualObject2().size() > 2);
    }

    @Test
    public void multipleCollectionsPrimitive(){
        MultipleCollectionsPrimitive prim = new MultipleCollectionsPrimitive();

        ArrayList numbers = new ArrayList();
        numbers.add(345453);
        numbers.add(67657567);
        numbers.add(2343);
        numbers.add(8714753);

        ArrayList words = new ArrayList();
        words.add("word1");
        words.add("word2");
        words.add("word3");

        prim.setName("multiple collections primitive");
        prim.setNumbers(numbers);
        prim.setWords(words);

        Assert.assertTrue(admin.save(prim));

        MultipleCollectionsPrimitive prim2 = new MultipleCollectionsPrimitive();
        admin.obtain(prim2).If("name").equal("multiple collections primitive").find();

        Assert.assertTrue(prim2.getNumbers().size() > 3);
        Assert.assertTrue(prim2.getWords().size() > 2);
    }
View Full Code Here

TOP

Related Classes of cat.quickdb.complexDataStructure.model.MultipleCollectionsPrimitive

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.