@Test
public void testHandle() throws ResourceAllocationException {

    // Prepare
    final BaseCmd cmd = mock(BaseCmd.class);
    final Map<String, String> params = new HashMap<String, String>();
    // Execute
    final SpecificCmdValidationWorker worker = new SpecificCmdValidationWorker();
    worker.handle(new DispatchTask(cmd, params));
    // Assert
    verify(cmd, times(1)).validateSpecificParameters(params);
}