@Test
public void testGetLength() throws Exception {

	Assertions.assertThat(TlvUtil.getLength(null)).isEqualTo(0);
	Assertions.assertThat(TlvUtil.getLength(new ArrayList<TagAndLength>())).isEqualTo(0);
	List<TagAndLength> list = new ArrayList<TagAndLength>();
	list.add(new TagAndLength(EmvTags.AID_CARD, 12));
	list.add(new TagAndLength(EmvTags.AID_TERMINAL, 2));
	Assertions.assertThat(TlvUtil.getLength(list)).isEqualTo(14);
}