コード例 #1
0
 /**
  * @param int $id
  * @param int $box
  *
  * @return int
  */
 public function deleteMessage($id, $box)
 {
     return $this->repository->delete($id, $box)->rowCount();
 }
コード例 #2
0
 public function testDelete()
 {
     $this->assertEquals(1, $this->repository->delete(1, '1')->rowCount());
 }