Beispiel #1
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);
 }
Beispiel #2
0
 protected function handleMissingParametersResult(MissingParametersResult $result)
 {
     $this->model['missing'] = $result->getMissingNames();
 }