@Test public void encodesTheConstantValueAsIs() throws IOException { it.encodeConstant(out); assertThat(bytesOut.toByteArray(), is(encoded)); }
@Test public void encodesTheEmptyConstant() throws IOException { it = new ConstantType(""); it.encodeConstant(out); assertThat(bytesOut.toByteArray(), is(new byte[] {})); }