/**
  * @coversNothing
  */
 public function test_trait()
 {
     $traits = getAllTraits(new \ReflectionClass(exception::class));
     self::assertContains(P\ClosedTrait::class, $traits);
     self::assertContains(P\ImmutableConstructorTrait::class, $traits);
 }
 public function test_closed_trait()
 {
     $traits = getAllTraits(new \ReflectionClass(testSubject::class));
     self::assertTrue(false !== array_search(ClosedTrait::class, $traits), 'should be closed');
 }