Example #1
0
 /**
  * @covers ::count
  */
 public function test_count($value = true)
 {
     self::assertTrue(1 === testNew($value)->count(), 'Count should be the constant 1');
 }
Example #2
0
 public function throwProvider()
 {
     return ['Not exception' => [5, P\Pot::class], 'Pot' => [P\Pot(5), P\Pot::class], 'Exception' => [new \Exception('5'), \Exception::class]];
 }