@Test
public void destroyViews() {

    uut.setRoot(parentController, new CommandListenerAdapter());
    uut.showModal(child1, new CommandListenerAdapter());
    uut.showOverlay(child2, new CommandListenerAdapter());
    uut.destroy();
    assertThat(childRegistry.size()).isZero();
}