public class TempTextAccessorTest extends Assert
{
@Test
public void shouldReplaceItselfWithTextPanel() throws Exception
{
PropPanel panel = new PropPanel(new FakePropProxy());
assertEquals(TempTextAccessor.instance(), panel.getTextAccessor());
TempTextAccessor.instance().setText("Howdy", panel);
TextAccessor newAccessor = panel.getTextAccessor();