public function testRenameColumn() { // stub adapter $adapterStub = $this->getMock('\\Phinx\\Db\\Adapter\\MysqlAdapter', array(), array(array())); $adapterStub->expects($this->once())->method('renameColumn'); $table = new \Phinx\Db\Table('ntable', array(), $adapterStub); $table->renameColumn('test1', 'test2'); }