@Test
public void testDecodeWhenDataSetIsInvalid() {

    try {
        m_decodingDataRecordService.decodeDataSet("", 1L, null, null, m_templateProvider);
        fail();
    } catch (DecodingException e) {
        assertEquals("Data set is invalid for decoding process.", e.getMessage());
    }
}