package gui; /* import org.junit.Assert; import org.junit.Before; import org.junit.Test; import gui.main.MainWindow; import gui.main.MenuPanel; */ /** * Tests the MenuPanel class. */ public class MenuPanelTest { /* private MainWindow mW; private MenuPanel menuP; @Before public void setUp() { mW = new MainWindow(); menuP = new MenuPanel(mW); } @Test public void test1() { try { new MenuPanel(null); Assert.fail("Argument was null"); } catch(IllegalArgumentException e) { //ok } } */ /* @Test public void testNewButton() { try { this.menuP.newWorkspace(); } catch (NullPointerException e) { Assert.fail("Nothing should be null"); } }*/ }