frame.dispose();
super.tearDown();
}
public void testCreateUI() {
ComponentUI ui1 = BasicTextPaneUI.createUI(textPane);
assertTrue(ui1 instanceof BasicTextPaneUI);
ui1 = BasicTextPaneUI.createUI(new JTextField());
ui1 = BasicTextPaneUI.createUI(new JTextArea());
assertTrue(ui1 instanceof BasicTextPaneUI);
assertTrue(ui1 instanceof BasicTextPaneUI);
ComponentUI ui2 = BasicTextPaneUI.createUI(textPane);
assertTrue(ui2 instanceof BasicTextPaneUI);
}