Package com.volantis.mcs.expression.functions.device

Examples of com.volantis.mcs.expression.functions.device.GetDeviceNameFunction


     */
    public void testGetDeviceName() throws Exception {

        accessorMock.expects.getDeviceName().returns("device-name");

        Function function = new GetDeviceNameFunction();
        Value value = function.invoke(expressionContextMock,
                                      EMPTY_VALUE_ARRAY);
        String name = value.stringValue().asJavaString();
        assertNotNull(name);
        assertEquals("device-name",
                     name);
View Full Code Here

TOP

Related Classes of com.volantis.mcs.expression.functions.device.GetDeviceNameFunction

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.