Package com.alibaba.test2.dataresolver

Examples of com.alibaba.test2.dataresolver.MapResolverFactory


        dataList = (Collection<MyData>) newRequest.getAttribute("actionLog");
        assertNotNull(dataList);
        assertEquals(2, dataList.size());

        Iterator<MyData> i = dataList.iterator();
        MyData data = i.next();
        assertArrayEquals(new Object[] { "a", "b" }, data.getField1().toArray());
        assertEquals(1, data.getField2());

        data = i.next();
        assertArrayEquals(new Object[] { "c", "d" }, data.getField1().toArray());
        assertEquals(2, data.getField2());
    }
View Full Code Here

TOP

Related Classes of com.alibaba.test2.dataresolver.MapResolverFactory

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.