@Test
 public void testRead139EncodedSize() {
   System.err.printf(
       "Running %s.%s - hex: %s%n", this.getClass().getName(), testname.getMethodName(), rawhex);
   ByteBuffer bbuf = ByteBuffer.wrap(buf);
   long actual = parser.read139EncodedSize(bbuf);
   Assert.assertThat("1/3/9 size from buffer [" + rawhex + "]", actual, is(expected));
 }
 @Test
 public void testRead139EncodedSize() {
   System.err.printf(
       "Running %s.%s - hex: %s%n", this.getClass().getName(), testname.getMethodName(), rawhex);
   ByteBuffer bbuf = ByteBuffer.wrap(buf);
   try {
     parser.read139EncodedSize(bbuf);
     // unexpected path
     Assert.fail("Should have failed with an invalid parse");
   } catch (MuxException e) {
     // expected path
     Assert.assertThat(e.getMessage(), containsString("Invalid 1/3/9 length"));
   }
 }