@Test
public void shouldAddNewNodeToChildrenListWhenCurrentNodeIsNotLastInIndexTree() {

    // given
    LevelIndex<Integer> levelindex = levelIndex().withLevelCount(1).build();
    LevelNode<Integer> root = new LevelNode<Integer>(levelindex);
    // when
    int currentLevelNumber = 0;
    root.add(new String[]{"A"}, 10, currentLevelNumber);
    // then
    assertThat(root).hasNoLeaves().hasDirectChild("A");
}