/** * @depends testInterface * @return null */ public function testKeyIndexManyColumns() { $column = array('col1', 'col2'); $key = new key('my_index', $column); $this->assertEquals('my_index', $key->getIndexName()); $expected = "key my_index (col1,col2)"; $this->assertEquals($expected, $key->buildSql()); }