public function tesIsString()
 {
     foreach ($this->types as $type => $standard) {
         $typeReflection = new TypeReflection($type);
         $this->assertSame($type === 'string', $typeReflection->isString(), $type);
     }
 }
Example #2
0
 public function testIsString()
 {
     $typeReflection = new TypeReflection('string');
     $this->assertTrue($typeReflection->isString());
 }