class 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;
    }

}

class MarkerBitmapTest {

    private Bitmap srcWithoutPhoto;
    private Bitmap srcWithPhoto;
    private Bitmap srcOwnPhoto;
    private Bitmap srcWithoutPhotoInactive;
    private Bitmap srcWithPhotoInactive;
    private Bitmap srcOwnPhotoInactive;
    private MarkerBitmap markerBitmap;

    @Test
    public void getBitmap_PhotoInactive() {

        Bitmap bitmap = markerBitmap.getBitmap(true, false, false);
        assertEquals(srcWithPhotoInactive, bitmap);
    }

}