### Question:
ExpandedContentManager { public static void hideExpandedContent() { hideExpandedContent( spoonInstance().getActiveTransGraph() ); }  static boolean isVisible(); static boolean isVisible( TransGraph graph ); static void createExpandedContent( String url ); static void createExpandedContent( TransGraph parent, String url ); static void showExpandedContent(); static void showExpandedContent( TransGraph graph ); static Browser getExpandedContentForTransGraph( TransGraph graph ); static void hideExpandedContent(); static void closeExpandedContent(); static void hideExpandedContent( TransGraph graph ); static void closeExpandedContent( TransGraph graph );  }### Answer:
@Test public void testHideExpandedContentManager() throws Exception { TransGraph transGraph = mock( TransGraph.class ); Browser browser = mock( Browser.class ); SashForm sashForm = mock( SashForm.class ); Composite parent = setupExpandedContentMocks( transGraph, browser, sashForm ); ExpandedContentManager.hideExpandedContent( transGraph ); verify( browser ).moveBelow( null ); verify( parent ).layout( true, true ); verify( parent ).redraw(); verify( sashForm ).setWeights( new int[] { 3, 2, 1 } ); }