protected function tearDown()
 {
     DbClient::delete('Document', null);
     parent::tearDown();
 }
Ejemplo n.º 2
0
 public function testDelete()
 {
     $this->mockEngineMethod('delete')->with($this->equalTo('table'), $this->equalTo('where'), $this->equalTo(['param']))->will($this->returnValue(true));
     $this->assertTrue(DbClient::delete('table', 'where', ['param']));
 }