public void testText() throws Exception { panel.setText("blah"); assertEquals("blah", panel.getText()); assertEquals("blah", panel.getTextAccessor().getText()); panel.getTextAccessor().setText("foo"); assertEquals("foo", panel.getText()); }
public void testConstructor() throws Exception { assertSame(prop, panel.getProp()); assertEquals(TextPaneTextAccessor.class, panel.getTextAccessor().getClass()); }