AxeImageFactory { public AxeImage createAxeImage(Bitmap screenshot) { if (screenshot == null) { return null; } return new ScreenshotAxeImage(screenshot, byteArrayOutputStreamProvider); } AxeImageFactory(ByteArrayOutputStreamProvider byteArrayOutputStreamProvider); AxeImage createAxeImage(Bitmap screenshot);  }
@Test public void axeImageIsNotNull() { Assert.assertNotNull(testSubject.createAxeImage(screenshotMock)); }