예제 #1
0
 public function tesIsNull()
 {
     foreach ($this->types as $type => $standard) {
         $typeReflection = new TypeReflection($type);
         $this->assertSame($type === 'null', $typeReflection->isNull(), $type);
     }
 }
예제 #2
0
 public function testIsNullCapitalized()
 {
     $typeReflection = new TypeReflection('NULL');
     $this->assertTrue($typeReflection->isNull());
 }