getMethods() as $reflectmethod ) { $params = ''; foreach ( $reflectmethod->getParameters() as $key => $row ) { if ( $params != '' ) $params .= ', '; $params .= '$' . $row->name; } $testItems++; $methods[ $reflectmethod->getName() ] = $params; } //To change the case only the first letter of each word, TIA $className = ucwords($className); $t->diag("class $className" ); $t->isa_ok( $obj , "languages", "class $className created"); $t->is( count($methods) , 1, "class $className have " . 1 . ' methods.' ); //checking method 'importLanguage' $t->can_ok( $obj, 'importLanguage', 'importLanguage() is callable' ); //$result = $obj->importLanguage ( $sLanguageFile, $bXml); //$t->isa_ok( $result, 'NULL', 'call to method importLanguage '); $t->todo( "call to method importLanguage using $sLanguageFile, $bXml "); $t->todo ( 'review all pendings methods in this class');