You are here

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

InflectorTest

Namespace

Doctrine\Tests\Common\Inflector

Code

public function testInflectingSingulars($singular, $plural) {
  $this
    ->assertEquals($singular, Inflector::singularize($plural), "'{$plural}' should be singularized to '{$singular}'");
}