Package com.volantis.mcs.devices.policy.values

Examples of com.volantis.mcs.devices.policy.values.OrderedSetPolicyValue


        // Check test outcome
        assertNotNull("Policy value should exist", value);
        assertTrue("Based on test setup expected a OrderedSetPolicyValue",
                   value instanceof OrderedSetPolicyValue);
        OrderedSetPolicyValue orderedValue = (OrderedSetPolicyValue) value;
        List valueList = orderedValue.getValueAsList();
        assertNotNull("Should be a list of values", valueList);
        assertEquals("Should be 4 items in the list", valueList.size(), 4);

        for (int i=0; i< 4; i++) {
            String item = "item " + (i + 1);
View Full Code Here

TOP

Related Classes of com.volantis.mcs.devices.policy.values.OrderedSetPolicyValue

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.