@Test
public void testDoLayout() {

  myPanel.setSize(800, 600);
  myPanel.doLayout();
  assertThat(myMainContent.getBounds()).isEqualTo(new Rectangle(0, 0, 800, 600));
  assertThat(mySplitter.getBounds()).isEqualTo(new Rectangle(0, 0, 800, 600));
}