public function InflectorTest::testInflectingSingulars in Plug 7
testInflectingSingulars method
@dataProvider dataSampleWords
Return value
void
File
- lib/
doctrine/ inflector/ tests/ Doctrine/ Tests/ Common/ Inflector/ InflectorTest.php, line 74
Class
Namespace
Doctrine\Tests\Common\InflectorCode
public function testInflectingSingulars($singular, $plural) {
$this
->assertEquals($singular, Inflector::singularize($plural), "'{$plural}' should be singularized to '{$singular}'");
}