### Question:
Icon { public Bitmap getBitmap() { if (mBitmap != null && mBitmap.getConfig() != Bitmap.Config.ARGB_8888) { mBitmap = mBitmap.copy(Bitmap.Config.ARGB_8888, false); } return mBitmap; } Icon(String id, Bitmap bitmap); String getId(); Bitmap getBitmap(); float getScale(); @NonNull byte[] toBytes(); @Override boolean equals(@Nullable Object object); @Override int hashCode();  }### Answer:
@Test public void testBitmap() { Icon icon = IconFactory.recreate("test", bitmap); assertEquals("bitmap should match", bitmap, icon.getBitmap()); }