Example #1
0
 private function thenTheResultShouldBeThatParameters_AreMissing($names)
 {
     $this->assert->isInstanceOf($this->result, MissingParametersResult::class);
     $this->assert($this->result->getParameters(), $names);
 }
Example #2
0
 private function then_ShouldBeMissingWith($param, $message)
 {
     $this->assert->isInstanceOf($this->result, MissingParametersResult::class);
     $this->assert->contains($this->result->getMissingNames(), $param);
     $this->assert($this->result->getException($param)->getMessage(), $message);
 }
Example #3
0
 protected function handleMissingParametersResult(MissingParametersResult $result)
 {
     $this->model['missing'] = $result->getMissingNames();
 }