@Test
public void testImportMessageSizes() {

	ReaderTGFF reader = new ReaderTGFF();
	List<String> in = Arrays.asList("# type    quantity", "   0     5", "   1    6", "}");
	Iterator<String> it = in.iterator();
	Map<String, Double> messageSizes = reader.importMessageSizes(it);
	Assert.assertEquals(2, messageSizes.size());
	Assert.assertTrue(messageSizes.keySet().contains("0"));
	Assert.assertTrue(messageSizes.keySet().contains("1"));
	Assert.assertEquals(5l, messageSizes.get("0").longValue());
	Assert.assertEquals(6l, messageSizes.get("1").longValue());
}