/** * Test id getter / setter. */ public function testId() { $protection = new Protection(); $id = 5; $protection->setId($id); $this->assertEquals($id, $protection->getId()); }