@Test
public void testEmptyMinimizedPanel() {

  when(myModel.getTopTools(Side.LEFT)).thenReturn(Collections.emptyList());
  when(myModel.getBottomTools(Side.LEFT)).thenReturn(Collections.emptyList());
  myPanel.modelChanged(myModel, SideModel.EventType.LOCAL_UPDATE);
  assertThat(myPanel.isVisible()).isFalse();
  assertThat(findVisibleComponents(Split.TOP)).isEmpty();
  assertThat(findVisibleComponents(Split.BOTTOM)).isEmpty();
  assertThat(findHiddenComponents()).isEmpty();
}