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