@Test
public void onImageAvailableWithUnpaddedImageBufferCreatesBitmapDirectlyFromSourceBuffer() {

  setupMocksToCreateBitmap();
  testSubject.onImageAvailable(imageReaderMock);
  verify(bitmapMock, times(1)).copyPixelsFromBuffer(imagePlaneStubBuffer);
  verify(bitmapConsumerMock, times(1)).accept(bitmapMock);
}