    @Test
    public void testTwoItemsChangedAtTheEnd() throws Exception {

        detector.newData(adapter, ImmutableList.of(new Cat(1), new Cat(2), new Cat(3)), false);
        reset(adapter);

        detector.newData(adapter, ImmutableList.of(new Cat(1), new Cat(2).withName("two1"), new Cat(3).withName("tree1")), false);
        verify(adapter).notifyItemRangeChanged(1, 2);
    }