    @Test
    public void dataU2() throws SecsException {

        Data<?> data = MessageParser.parseData("<U2>");
        Assert.assertTrue(data instanceof U2);
        U2 u2 = (U2) data;
        Assert.assertEquals(0, u2.length());
        
        data = MessageParser.parseData("<U2 0 1 65535>");
        Assert.assertTrue(data instanceof U2);
        u2 = (U2) data;
        Assert.assertEquals(3, u2.length());
        Assert.assertEquals(0x0000, u2.getValue(0));
        Assert.assertEquals(0x0001, u2.getValue(1));
        Assert.assertEquals(0xffff, u2.getValue(2));
    }