@Test
public void testVisibleToolOnLeftSide() {

  when(myModel.getHiddenSliders()).thenReturn(ImmutableList.of(myToolWindow2));
  when(myModel.getVisibleAutoHideTool()).thenReturn(myToolWindow1);
  when(myToolWindow1.isLeft()).thenReturn(true);
  myPanel.modelChanged(myModel, myEventType);
  assertThat(mySplitter.isVisible()).isTrue();
  assertThat(mySplitter.getFirstComponent()).isEqualTo(myToolWindowComponent1);
  assertThat(mySplitter.getLastComponent()).isNull();
  assertThat(myContainer.getComponents()).asList().containsExactly(myToolWindowComponent2);
}