### Question:
CeosFileReader { public long readB8() throws IOException, IllegalCeosFormatException { final long streamPosition = stream.getStreamPosition(); try { return stream.readLong(); } catch (IOException e) { final String message = String.format(CeosFileReader.EM_READING_X_TYPE, "B8"); throw new IllegalCeosFormatException(message, streamPosition, e); } } CeosFileReader(final ImageInputStream stream); void close(); void seek(final long pos); void skipBytes(final long numBytes); int readB1(); short readB2(); int readB4(); long readB8(); void readB4(final int[] array); void readB8(final long[] array); int readI4(); long readIn(final int n); void readB1(final byte[] array); double readFn(final int n); double readEn(final int n); double readGn(final int n); void readGn(final int n, final double[] numbers); String readAn(final int n); int[] readInArray(final int arraySize, final int intValLength); long getCurrentPos();  }### Answer:
@Test public void testReadB8() throws IOException, IllegalCeosFormatException { final byte[] bytes = new byte[]{0x00, 0x01, 0x00, 0x11, 0x00, 0x00, 0x1B, (byte) 0xBC}; _ios.write(bytes); _ios.seek(0); final CeosFileReader ceosReader = new CeosFileReader(_ios); assertEquals(281547991161788L, ceosReader.readB8()); }