public function testExecuteWrongNameSpecified()
 {
     $this->expectContainerGetManagerRegistryAndProcessHandler();
     $id = 1;
     $this->input->expects($this->exactly(2))->method('getOption')->willReturnMap([['id', $id], ['name', 'wrong_name']]);
     $processTrigger = $this->createProcessTrigger($id);
     $this->repo->expects($this->once())->method('find')->with($id)->willReturn($processTrigger);
     $this->processHandler->expects($this->never())->method($this->anything());
     $this->command->execute($this->input, $this->output);
     $this->assertAttributeEquals(['Trigger not found in process definition "wrong_name"'], 'messages', $this->output);
 }