public function InflectorTest::testInflectingSingulars in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/inflector/tests/Doctrine/Tests/Common/Inflector/InflectorTest.php \Doctrine\Tests\Common\Inflector\InflectorTest::testInflectingSingulars()
testInflectingSingulars method
@dataProvider dataSampleWords
Return value
void
File
- vendor/
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}'");
}