ScreenshotAxeImage extends AxeImage { @Override public AxeRect frame() { return frameRect; } ScreenshotAxeImage(
      Bitmap screenshot, ByteArrayOutputStreamProvider byteArrayOutputStreamProvider); @Override AxeRect frame(); @Override AxeColor pixel(int x, int y); @Override String toBase64Png();  }
@Test public void frameReturnsCorrectRect() { AxeRect expectedRect = new AxeRect(0, sampleWidth - 1, 0, sampleHeight - 1); Assert.assertEquals(testSubject.frame(), expectedRect); }