Пример #1
0
 /**
  * @dataProvider dataNotNull
  *
  * @param mixed $input
  * @param bool  $expected
  */
 public function testNotNull($input, $expected)
 {
     $this->assertEquals($expected, Funct\not_null($input));
 }
Пример #2
0
 /**
  * @return int|null
  */
 public function getNotHandledSignalNo()
 {
     if (not_null($this->notHandledSignalNo)) {
         return $this->notHandledSignalNo;
     }
     if (false === $this->isExitBecauseNotHandledSignal()) {
         return;
     }
     $this->notHandledSignalNo = $this->getProcessControl()->getExitSignalNo($this->getStatus());
     return $this->notHandledSignalNo;
 }