@Test
public void testCreateIpfixMessage() {

    try {
        byte[] data = IpfixUtilities.hexStringToByteArray("0103002000");
        CollectingServiceImpl collectingService = new CollectingServiceImpl(m_decodingDataRecordService, m_cachingService,
                m_dataHandlerService, m_deviceFamilyCacheService);
        collectingService.createIpfixMessage(data);
        fail();
    } catch (NotEnoughBytesException e) {
        assertEquals("The IPFIX message is not correct formatted", e.getMessage());
    }
}