@Test(expected = DataTypeLengthMismatchException.class)
public void testDecodeUnsigned32LengthMismatch() throws UtilityException, DataTypeLengthMismatchException, UnknownHostException, MissingAbstractDataTypeException {

    byte[] data = IpfixUtilities.hexStringToByteArray("0000006F");
    int length = 5;
    IpfixDataRecordDecodeMethod method = new DecodeUnsigned32();
    String value = method.decodeDataRecord(data, length);
    assertEquals("111", value);
}