@Test
public void test_NotifyRangeInserted_ComponentAddedInTheMiddle_CallsNotifyItemRangeInserted() {

    List<String> fakeData = new ArrayList<>(Arrays.asList("a", "b", "c"));
    ListComponent<String, String> listComponent0 = new ListComponent<>(null, null);
    listComponent0.toggleDivider(false);
    listComponent0.setData(fakeData);
    ListComponent<String, String> listComponent1 = new ListComponent<>(null, null);
    listComponent1.toggleDivider(false);
    listComponent1.setData(fakeData);
    ComponentGroup group = new ComponentGroup();
    group.addComponent(listComponent0);
    group.addComponent(listComponent1);
    List<String> insertedData = new ArrayList<>(Arrays.asList("0", "1", "2", "3"));
    ListComponent<String, String> insertedComponent = new ListComponent<>(null, null);
    insertedComponent.toggleDivider(false);
    insertedComponent.setData(insertedData);
    ComponentGroup spyGroup = spy(group);
    spyGroup.addComponent(1, insertedComponent);
    verify(spyGroup, times(1)).notifyItemRangeInserted(3, 4);
}