public function testUpdate() { $this->mockEngineMethod('update')->with($this->equalTo('table'), $this->equalTo([]), $this->equalTo('where'), $this->equalTo(['param']))->will($this->returnValue(true)); $this->assertTrue(DbClient::update('table', [], 'where', ['param'])); }