@Test public void testDecodeHeader2() { TableCodec tc = new TableCodec(); final String str2 = "1:1 1 2 3"; LineReader reader = makeReader(asList("HEADER a b c", str2)); LineIterator li = new LineIteratorImpl(reader); List<String> hd = tc.readActualHeader(li); Assert.assertEquals(hd, asList("HEADER", "a", "b", "c")); final TableFeature decode = tc.decode(str2); Assert.assertEquals(decode.get("a"), "1"); Assert.assertEquals(decode.get("b"), "2"); Assert.assertEquals(decode.get("c"), "3"); Assert.assertEquals(decode.getLocation().getContig(), "1"); Assert.assertEquals(decode.getContig(), "1"); Assert.assertEquals(decode.getLocation().getStart(), 1); Assert.assertEquals(decode.getLocation().getEnd(), 1); }