public function testAddCreationColumnType() { $adapter = new MysqlAdapter([]); $table = new Table('ntable', [], $adapter); $table->addCreated(); $columns = $table->getPendingColumns(); $this->assertEquals('created', $columns[0]->getName()); $this->assertEquals('datetime', $columns[0]->getType()); $this->assertEquals(null, $columns[0]->getDefault()); $this->assertEquals(null, $columns[0]->getLimit()); $this->assertEquals(true, $columns[0]->getNull()); }