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

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


        // Check test outcome
        assertNotNull("Policy value should exist", value);
        assertTrue("Based on test setup expected a StructurePolicyValue",
                   value instanceof StructurePolicyValue);
        StructurePolicyValue structureValue = (StructurePolicyValue) value;
        Map fields = structureValue.getFieldValuesAsMap();
        assertNotNull("Should be a map of values", fields);
        assertEquals("Should be 4 items in the map", fields.size(), 4);

        PolicyValue value1 = (PolicyValue) fields.get("field1");
        assertNotNull("field1 should not be null", value1);
View Full Code Here

TOP

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

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.