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