@Test
public void testFullToEmpty() {

  // Prepare
  myNewEntries.clear();
  // Act
  TreeUtil.updateChildrenNodes(myModel, myDirNode, myNewEntries, createDefaultOps());
  // Assert
  assertSameEntries(myDirNode, myNewEntries);
  assertThat(myModelListener.getStructureChangedCount()).isEqualTo(1);
  assertThat(myModelListener.getNodesChangedCount()).isEqualTo(0);
  assertThat(myModelListener.getNodesInsertedCount()).isEqualTo(0);
  assertThat(myModelListener.getNodesRemovedCount()).isEqualTo(0);
}