### Question:
BaseBitmapReader implements BitMapReader { @Override public ImmutableBitMap get(long pos) { return BitMaps.ofStream(byteArrayReader.getStream(pos)); } BaseBitmapReader(ByteArrayReader byteArrayReader); @Override boolean isReadable(); @Override ImmutableBitMap get(long pos); @Override void release();  }### Answer:
@Test public void get() { ImmutableBitMap bitmap = mock(ImmutableBitMap.class); when(byteArrayReader.getStream(1)).thenReturn(mock(InputStream.class)); mockStatic(BitMaps.class); when(BitMaps.ofStream(byteArrayReader.getStream(1))).thenReturn(bitmap); assertEquals(bitmap, new BaseBitmapReader(byteArrayReader).get(1)); }