public function testInsert()
 {
     $this->mockEngineMethod('insert')->with($this->equalTo('table'), $this->equalTo(['key' => 'value']));
     DbClient::insert('table', ['key' => 'value']);
 }
 /**
  * @return void
  */
 public function insert()
 {
     DbClient::insert(static::getTableName(), $this->getRow());
     if ($this->hasColumn('id') === false) {
         $this->setColumn('id', DbClient::getLastInsertId());
     }
 }