assertEquals("Stop Server", action.getText());
assertFalse("Start icon not called", startServerIconCalled);
assertTrue("Stop icon called", stopServerIconCalled);
delegate.run(action);
assertTrue("Start icon called", startServerIconCalled);
assertFalse("Stop icon not called", stopServerIconCalled);
assertEquals("Start Server", action.getText());
}