@Test public void CheckClientAddedTest() { CreateClientAction action = new CreateClientAction(baseClient, manager); invoker.execute(action); assertEquals(1, manager.getClients().size()); }
@Override protected void execute() { super.execute(); manager.addClient(client); }
CreateClientAction extends ClientAction { @Override protected void execute() { super.execute(); manager.addClient(client); } }
CreateClientAction extends ClientAction { @Override protected void execute() { super.execute(); manager.addClient(client); } CreateClientAction(Client client, ClientManager manager); }
CreateClientAction extends ClientAction { @Override protected void execute() { super.execute(); manager.addClient(client); } CreateClientAction(Client client, ClientManager manager); @Override String getExecuteText(); @Override String getUnexecuteText(); }
CreateClientAction extends ClientAction { @Override protected void execute() { super.execute(); manager.addClient(client); } CreateClientAction(Client client, ClientManager manager); @Override String getExecuteText(); @Override String getUnexecuteText();  }