### Question:
SignalCmdExecutor extends AbstractCommandExecutor<SignalPayload> { @Override public EmptyResult execute(SignalPayload signalPayload) { processAdminRuntime.signal(signalPayload); return new EmptyResult(signalPayload); } SignalCmdExecutor(ProcessAdminRuntime processAdminRuntime); @Override EmptyResult execute(SignalPayload signalPayload);  }### Answer:
@Test public void signalProcessInstancesCmdExecutorTest() { SignalPayload signalPayload = new SignalPayload("x", null); assertThat(signalCmdExecutor.getHandledType()).isEqualTo(SignalPayload.class.getName()); signalCmdExecutor.execute(signalPayload); verify(processAdminRuntime).signal(signalPayload); }