Ejemplo n.º 1
0
 public function testGetStandardizedType()
 {
     foreach ($this->types as $type => $standard) {
         $typeReflection = new TypeReflection($type);
         $this->assertSame($standard, $typeReflection->getStandardizedType(), $type);
     }
 }
Ejemplo n.º 2
0
 public function testGetTypeWithUnknownType()
 {
     $typeReflection = new TypeReflection('none');
     $this->assertSame(TypeReflection::UNKNOWN_TYPE, $typeReflection->getStandardizedType());
 }