コード例 #1
0
 public function testNormalizedType()
 {
     $this->assertEqual('Blub', PHPFIT_ClassHelper::getNormalizedType('Blub'));
     foreach (self::$types as $type => $normtype) {
         $this->assertEqual($normtype, PHPFIT_ClassHelper::getNormalizedType($type));
     }
 }
コード例 #2
0
 /**
  * @param string $type
  * @return string
  */
 protected static function getNormalizedType($type)
 {
     return PHPFIT_ClassHelper::getNormalizedType($type);
 }