You are here

public function InflectorTest::testInflectingPlurals in Plug 7

testInflectingPlurals method

@dataProvider dataSampleWords

Return value

void

File

lib/doctrine/inflector/tests/Doctrine/Tests/Common/Inflector/InflectorTest.php, line 89

Class

InflectorTest

Namespace

Doctrine\Tests\Common\Inflector

Code

public function testInflectingPlurals($singular, $plural) {
  $this
    ->assertEquals($plural, Inflector::pluralize($singular), "'{$singular}' should be pluralized to '{$plural}'");
}