public function testCantGetChildrenNames() { $column = $this->getColumnMock('created_at', array('inheritance' => true)); $column->expects($this->any())->method('isEnumeratedClasses')->will($this->returnValue(false)); $table = new Table('books'); $table->addColumn($column); $this->assertNull($table->getChildrenNames()); }