BitmapProvider { public Bitmap createBitmap(int width, int height, Bitmap.Config config) { return Bitmap.createBitmap(width, height, config); }  Bitmap createBitmap(int width, int height, Bitmap.Config config);  }
@Test public void bitmapIsNotNull() { Bitmap createdBitmap = testSubject.createBitmap(width, height, config); Assert.assertNotNull(createdBitmap); Assert.assertEquals(createdBitmap, bitmapMock); PowerMockito.verifyStatic(Bitmap.class); Bitmap.createBitmap(width, height, config); }