@Test public void testGet() { GetEmployeeResult r = execute(1L); assertThat(r.getDto().id, is(1L)); }
@Override public GetEmployeeResult execute(GetEmployeeAction action, ExecutionContext context) { return new GetEmployeeResult(new EmployeeDto(action.getId(), "name", new Double(10.00))); }
GetEmployeeHandler implements ActionHandler<GetEmployeeAction, GetEmployeeResult> { @Override public GetEmployeeResult execute(GetEmployeeAction action, ExecutionContext context) { return new GetEmployeeResult(new EmployeeDto(action.getId(), "name", new Double(10.00))); } }
GetEmployeeHandler implements ActionHandler<GetEmployeeAction, GetEmployeeResult> { @Override public GetEmployeeResult execute(GetEmployeeAction action, ExecutionContext context) { return new GetEmployeeResult(new EmployeeDto(action.getId(), "name", new Double(10.00))); }  }
GetEmployeeHandler implements ActionHandler<GetEmployeeAction, GetEmployeeResult> { @Override public GetEmployeeResult execute(GetEmployeeAction action, ExecutionContext context) { return new GetEmployeeResult(new EmployeeDto(action.getId(), "name", new Double(10.00))); }  @Override Class<GetEmployeeAction> getActionType(); @Override GetEmployeeResult execute(GetEmployeeAction action, ExecutionContext context); @Override boolean skipCSRFCheck(); }
GetEmployeeHandler implements ActionHandler<GetEmployeeAction, GetEmployeeResult> { @Override public GetEmployeeResult execute(GetEmployeeAction action, ExecutionContext context) { return new GetEmployeeResult(new EmployeeDto(action.getId(), "name", new Double(10.00))); }  @Override Class<GetEmployeeAction> getActionType(); @Override GetEmployeeResult execute(GetEmployeeAction action, ExecutionContext context); @Override boolean skipCSRFCheck();  }