public String readWPHex() throws IOException {
        return StringUtils.leftPad(Integer.toString(readWP(), 16), 2, '0');
    }
@Test
    public void testReadHex() throws Exception {
        try (WPInputStream wpInputStream = emptyWPStream()) {
            wpInputStream.readWPHex();
            fail("should have thrown EOF");
        } catch (EOFException e) {
            //swallow
        }
    }