@Test
public void nullBitmapReturnedWhenSharedMediaProjectionIsNull() {

  when(mediaProjectionSupplierMock.get()).thenReturn(null);
  testSubject.getScreenshotWithMediaProjection(bitmapConsumerMock);
  verify(bitmapConsumerMock, times(1)).accept(null);
}