publicfunction__construct(Process $process) { if($process->isSuccessful()){ thrownewInvalidArgumentException('Expected a failed process, but the given process was successful.'); }
publicfunction__construct(Process $process) { if($process->isSuccessful()){ thrownewInvalidArgumentException('Expected a failed process, but the given process was successful.'); }