MarkerBitmap { public final Bitmap getBitmap(final boolean hasPhoto, final boolean ownPhoto, final boolean stationActive) { if (ownPhoto) { if (stationActive) { return iconBmpOwnPhoto; } return iconBmpOwnPhotoInactive; } else if (hasPhoto) { if (stationActive) { return iconBmpWithPhoto; } return iconBmpWithPhotoInactive; } if (stationActive) { return iconBmpWithoutPhoto; } return iconBmpWithoutPhotoInactive; } MarkerBitmap(final Context context, final Bitmap srcWithoutPhoto, final Bitmap srcWithPhoto, final Bitmap srcOwnPhoto,
                        final Bitmap srcWithoutPhotoInactive, final Bitmap srcWithPhotoInactive, final Bitmap srcOwnPhotoInactive,
                        final Point grid, final float textSize, final int maxSize, final Paint paint);  MarkerBitmap(final Context context, final Bitmap bitmap, final Point grid, final float textSize, final int maxSize, final Paint paint); static Bitmap getBitmapFromTitle(final String title, final Paint paint); final Bitmap getBitmap(final boolean hasPhoto, final boolean ownPhoto, final boolean stationActive); final Point getIconOffset(); final float getTextSize(); final int getItemMax(); Paint getPaint(); void decrementRefCounters();  }
@Test public void getBitmap_OwnPhotoActive() { Bitmap bitmap = markerBitmap.getBitmap(true, true, true); assertEquals(srcOwnPhoto, bitmap); }
@Test public void getBitmap_OwnPhotoInactive() { Bitmap bitmap = markerBitmap.getBitmap(true, true, false); assertEquals(srcOwnPhotoInactive, bitmap); }
@Test public void getBitmap_PhotoActive() { Bitmap bitmap = markerBitmap.getBitmap(true, false, true); assertEquals(srcWithPhoto, bitmap); }
@Test public void getBitmap_PhotoInactive() { Bitmap bitmap = markerBitmap.getBitmap(true, false, false); assertEquals(srcWithPhotoInactive, bitmap); }
@Test public void getBitmap_WithoutPhotoActive() { Bitmap bitmap = markerBitmap.getBitmap(false, false, true); assertEquals(srcWithoutPhoto, bitmap); }
@Test public void getBitmap_WithoutPhotoInactive() { Bitmap bitmap = markerBitmap.getBitmap(false, false, false); assertEquals(srcWithoutPhotoInactive, bitmap); }