@Test
public void testSerialize() {

    LLDPOrganizationalTLV tlv = new LLDPOrganizationalTLV();
    tlv.setLength((short) 13);
    // OpenFlow OUI is 00-26-E1
    tlv.setOUI(new byte[] {0x0, 0x26, (byte) 0xe1});
    tlv.setSubType((byte) 12);
    tlv.setInfoString("ExtraInfo".getBytes(Charset.forName("UTF-8")));
    assertThat(tlv.getType(), is((byte)127));
    assertThat(tlv.getLength(), is((short)13));
    assertThat(tlv.getOUI(), is(new byte[] {0x0, 0x26, (byte) 0xe1}));
    assertThat(tlv.getSubType(), is((byte)12));
    assertThat(tlv.serialize(), is(expected));
}