@Test
public void create_iconButton() {

    @SuppressWarnings("Convert2Lambda") Task<Drawable> onSuccess = spy(new Task<Drawable>() {
        @Override
        public void run(Drawable icon) {
        }
    });
    uut.resolve(iconButton(), onSuccess);
    verify(imageLoader).loadIcon(eq(context), eq(ICON_URI), any());
    verify(onSuccess).run(any(Drawable.class));
}