@Test
public void removeButtonShouldRemoveRowAndCallCallback() {

    final WaypointEntry entry = MockUtils.mockWayPointEntry();
    getFirstViewHolder(new ArrayList<>(Collections.singletonList(entry)));
    // by default row should have removable view visible.
    assertThat(mWaypointsListViewHolder.getRemovableView().getVisibility(), equalTo(View.VISIBLE));
    mWaypointsListViewHolder.getRemovableView()
            .performClick();
    assertThat(mIsCallbackCalled, is(true));
    assertThat(mWaypointListAdapter.getItemCount(), equalTo(0));
}