Package com.volantis.mcs.expression.functions.diselect

Examples of com.volantis.mcs.expression.functions.diselect.DIMonochromeFunction.execute()


        // set up expectations
        accessorMock.expects.getDependentPolicyValue(
                DevicePolicyConstants.RENDER_MODE).returns(renderMode);

        DIMonochromeFunction function = new DIMonochromeFunction();
        Value result = function.execute(exprContext, accessorMock,
                defaultValue);
        assertTrue(result instanceof SimpleIntValue);
        assertTrue(expectedResult == ((SimpleIntValue)result).asJavaInt());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.