void () { assertTrue(isVisible(MockFacetType.getInstance())); assertFalse(isVisible(MockSubFacetType.getInstance())); final FacetInfo info = new FacetInfo(MockFacetType.getInstance(), "239", new MockFacetConfiguration(), null); myEditorFacade.getModel().addFacetInfo(info); assertTrue(isVisible(MockFacetType.getInstance())); assertFalse(isVisible(MockSubFacetType.getInstance())); myEditorFacade.setSelectedFacet(info); assertTrue(isVisible(MockFacetType.getInstance())); assertTrue(isVisible(MockSubFacetType.getInstance())); final FacetInfo subInfo = new FacetInfo(MockSubFacetType.getInstance(), "42", new MockFacetConfiguration(), info); myEditorFacade.getModel().addFacetInfo(subInfo); assertTrue(isVisible(MockFacetType.getInstance())); assertTrue(isVisible(MockSubFacetType.getInstance())); }