public function InflectorTest::testInflectingPlurals in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/inflector/tests/Doctrine/Tests/Common/Inflector/InflectorTest.php \Doctrine\Tests\Common\Inflector\InflectorTest::testInflectingPlurals()
testInflectingPlurals method
@dataProvider dataSampleWords
Return value
void
File
- vendor/
doctrine/ inflector/ tests/ Doctrine/ Tests/ Common/ Inflector/ InflectorTest.php, line 89
Class
Namespace
Doctrine\Tests\Common\InflectorCode
public function testInflectingPlurals($singular, $plural) {
$this
->assertEquals($plural, Inflector::pluralize($singular), "'{$singular}' should be pluralized to '{$plural}'");
}