@Test
public void thatCanHandleAImageOnTheNotificationWithBottomType() throws IOException {

    final boolean[] marker = new boolean[1];
    final String text = "This is my Text And Body";
    final String image = givenAImageNotification(mHalo.context(), "bottom");
    Bundle bundle = BundleTestUtils.builder().putString("body", text).putString("title", text).build();
    when(bundle.get("image")).thenReturn(image);
    when(bundle.get("image").toString()).thenReturn(image);
    when(getBuilder().setCustomContentView(any(RemoteViews.class))).then(new Answer<Object>() {
        @Override
        public Object answer(InvocationOnMock invocation) throws Throwable {
            marker[0] = true;
            return null;
        }
    });
    getDecorator().decorate(getBuilder(), bundle);
    Assert.assertTrue(marker[0]);
}