@Test public void testIsBrowserVisibleTransGraph() { TransGraph transGraphMock = mock( TransGraph.class ); Control control1 = mock( Control.class ); Control control2 = mock( Control.class ); Browser browser = mock( Browser.class ); Control[] children = new Control[] { control1, control2, browser }; when( transGraphMock.getChildren() ).thenReturn( children ); Boolean result = ExpandedContentManager.isVisible( transGraphMock ); assertFalse( result ); children = new Control[] { browser, control1, control2 }; when( transGraphMock.getChildren() ).thenReturn( children ); result = ExpandedContentManager.isVisible( transGraphMock ); assertTrue( result ); }
public static boolean isVisible() { return isVisible( spoonInstance().getActiveTransGraph() ); }
ExpandedContentManager { public static boolean isVisible() { return isVisible( spoonInstance().getActiveTransGraph() ); } }
ExpandedContentManager { public static boolean isVisible() { return isVisible( spoonInstance().getActiveTransGraph() ); }  }
ExpandedContentManager { public static boolean isVisible() { return isVisible( 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 ); }
ExpandedContentManager { public static boolean isVisible() { return isVisible( 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 );  }