public function testDeletesById() { $id = 282; $command = new DeleteQuotaCommand($id); $this->repository->DeleteById($id); $this->assertEquals($command, $this->db->_LastCommand); }