@Test public void hidePerspective() { SpoonPerspectiveManager.PerspectiveManager perspectiveManager = perspectiveManagerMap.get( perspective ); spoonPerspectiveManager.hidePerspective( perspective.getId() ); verify( perspectiveManager ).setPerspectiveHidden( PERSPECTIVE_NAME, true ); }
public void hidePerspective( final String perspectiveId ) { changePerspectiveVisibility( perspectiveId, true ); }
SpoonPerspectiveManager { public void hidePerspective( final String perspectiveId ) { changePerspectiveVisibility( perspectiveId, true ); } }
SpoonPerspectiveManager { public void hidePerspective( final String perspectiveId ) { changePerspectiveVisibility( perspectiveId, true ); } @SuppressWarnings( "rawtypes" ) private  SpoonPerspectiveManager(); }
SpoonPerspectiveManager { public void hidePerspective( final String perspectiveId ) { changePerspectiveVisibility( perspectiveId, true ); } @SuppressWarnings( "rawtypes" ) private  SpoonPerspectiveManager(); String getStartupPerspective(); void setStartupPerspective( String startupPerspective ); static SpoonPerspectiveManager getInstance(); void setDeck( XulDeck deck ); void setXulDoc( XulDomContainer doc ); void addPerspective( SpoonPerspective perspective ); void showPerspective( final String perspectiveId ); void hidePerspective( final String perspectiveId ); @SuppressWarnings( "unchecked" ) List<SpoonPerspective> getPerspectives(); void activatePerspective( Class<? extends SpoonPerspective> clazz ); SpoonPerspective getActivePerspective(); boolean isForcePerspective(); void setForcePerspective( boolean forcePerspective ); void removePerspective( SpoonPerspective per ); void initialize(); }
SpoonPerspectiveManager { public void hidePerspective( final String perspectiveId ) { changePerspectiveVisibility( perspectiveId, true ); } @SuppressWarnings( "rawtypes" ) private  SpoonPerspectiveManager(); String getStartupPerspective(); void setStartupPerspective( String startupPerspective ); static SpoonPerspectiveManager getInstance(); void setDeck( XulDeck deck ); void setXulDoc( XulDomContainer doc ); void addPerspective( SpoonPerspective perspective ); void showPerspective( final String perspectiveId ); void hidePerspective( final String perspectiveId ); @SuppressWarnings( "unchecked" ) List<SpoonPerspective> getPerspectives(); void activatePerspective( Class<? extends SpoonPerspective> clazz ); SpoonPerspective getActivePerspective(); boolean isForcePerspective(); void setForcePerspective( boolean forcePerspective ); void removePerspective( SpoonPerspective per ); void initialize();  }