### Question:
BaseBitmapReader implements BitMapReader { @Override public boolean isReadable() { return byteArrayReader != null && byteArrayReader.isReadable(); } BaseBitmapReader(ByteArrayReader byteArrayReader); @Override boolean isReadable(); @Override ImmutableBitMap get(long pos); @Override void release();  }### Answer:
@Test public void isReadable() { when(byteArrayReader.isReadable()).thenReturn(true); assertFalse(new BaseBitmapReader(null).isReadable()); assertTrue(new BaseBitmapReader(byteArrayReader).isReadable()); verify(byteArrayReader).isReadable(); }