*/
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);