Пример #1
0
 /**
  * @covers ::filterNot
  */
 public function test_filterNot_return($value = true)
 {
     $subject = testSubject::of($value);
     self::assertSame($subject, $subject->filterNot(bFalse));
     self::assertSame(oppositeSubject::of($value), $subject->filterNot(bTrue));
 }
Пример #2
0
 /**
  * @covers ::of
  */
 public function test_applicative($value = 1)
 {
     self::assertSame(testNew(), testSubject::of($value));
 }