Exemple #1
0
 public function visitIsEmpty(Requests\IsEmpty $request)
 {
     return $this->traversable->isEmpty();
 }
Exemple #2
0
 /**
  * @dataProvider everything
  */
 public function testThatIsEmptyReturnsWhetherItHasNoElements(\Pinq\ITraversable $traversable, array $data)
 {
     $this->assertSame($traversable->isEmpty(), empty($data));
 }