<?xml version="1.0" ?> <ddtunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ddtunit.sourceforge.net/ddtunit.xsd"> <cluster id="DDTReadCollectionTypeTest"> <!-- --> <!-- collection type object retrieval --> <!-- --> <group id="testReadVector"> <test id="myFirstVector"> <objs> <obj id="myVector" type="java.util.Vector" hint="collection"> <item type="string">firstEntry</item> <item type="string">secondEntry</item> <item type="string">thirdEntry</item> </obj> </objs> <asserts> <assert id="count" type="int" action="ISEQUAL">3</assert> <assert id="expected" type="string" action="ISEQUAL"> secondEntry</assert> </asserts> </test> <test id="mySimpleVOVector"> <objs> <obj id="myVector" type="vector" hint="collection"> <item type="junitx.ddtunit.resources.SimpleVO"> <stringValue>firstEntry</stringValue> </item> <item type="junitx.ddtunit.resources.SimpleVO"> <stringValue>secondEntry</stringValue> </item> </obj> </objs> <asserts> <assert id="count" type="int" action="ISEQUAL">2</assert> <assert id="expected" type="junitx.ddtunit.resources.SimpleVO" action="ISEQUAL"> <stringValue>secondEntry</stringValue> </assert> </asserts> </test> </group> </cluster> </ddtunit>