Extends
lithium\test\Unit
testHumanization method
Returns
voidSource
public function testHumanize() {
$this->assertEqual(Inflector::humanize('posts'), 'Posts');
$this->assertEqual(Inflector::humanize('posts_tags'), 'Posts Tags');
$this->assertEqual(Inflector::humanize('file_systems'), 'File Systems');
$this->assertEqual(Inflector::humanize('the-post-title', '-'), 'The Post Title');
}