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