public static void closeExpandedContent() {
    closeExpandedContent( spoonInstance().getActiveTransGraph() );
  }
@Test
  public void testCloseExpandedContentManager() throws Exception {
    TransGraph transGraph = mock( TransGraph.class );
    Browser browser = mock( Browser.class );
    SashForm sashForm = mock( SashForm.class );

    setupExpandedContentMocks( transGraph, browser, sashForm );
    ExpandedContentManager.closeExpandedContent( transGraph );
    verify( browser ).close();
    verify( sashForm ).setWeights( new int[] { 3, 2, 1 } );
  }