public function testGetSingularName() { $column = new Column('titles'); $this->assertSame('title', $column->getSingularName()); $this->assertTrue($column->isNamePlural()); }
public function testIsNamePlural() { $column = new Column('foo'); $this->assertFalse($column->isNamePlural()); $column = new Column('foos'); $this->assertTrue($column->isNamePlural()); $column = new Column('foso'); $this->assertFalse($column->isNamePlural()); }