HelpMCTAction extends ContextAwareAction { @Override public boolean canHandle(ActionContext context) { return isEnabled(); } HelpMCTAction(); @Override boolean isEnabled(); @Override void actionPerformed(ActionEvent e); @Override boolean canHandle(ActionContext context); boolean getBrowserReturned(); static final String TEXT; }
@Test public void testCanHandle() { assertEquals(helpClass.canHandle(null), true); }