/**
  * Test add and remove for userRequests
  */
 public function testAddRemoveActionLog()
 {
     $item = new Item();
     $user = new User();
     $this->assertEquals(0, $item->getUserRequests()->count());
     $item->setCreatedBy($user)->addUserRequest(new ItemRequest());
     $this->assertEquals(1, $item->getUserRequests()->count());
     $userRequest = $item->getUserRequests()->first();
     $item->removeUserRequest($userRequest);
     $this->assertEquals(0, $item->getUserRequests()->count());
 }