Inspector extends View { @Override public View getHousedViewManifestation() { return view; } Inspector(AbstractComponent ac, ViewInfo vi); AbstractComponent getCurrentlyShowingComponent(); void refreshCurrentlyShowingView(); @Override View getHousedViewManifestation(); @Override void enterLockedState(); @Override void exitLockedState(); @Override boolean setHousedViewManifestation(ViewInfo viewInfo); static final String DEFAULT_INSPECTOR_VIEW_PROP_KEY; }
@Test public void testGetHousedViewManifestation() { Assert.assertNull(inspector.getHousedViewManifestation()); inspectorPropertyChangeListener.propertyChange(mockPropertyEvent); Assert.assertEquals(inspector.getHousedViewManifestation(), view); }