/**
  * @test
  */
 public function getStoragePageReturnsInitialValue()
 {
     $this->assertSame(null, $this->subject->getStoragePage());
 }
 /**
  * Sets the storagePage constraint to the given constraints array
  *
  * @param \TYPO3\CMS\Extbase\Persistence\QueryInterface $query Query
  * @param \DERHANSEN\SfEventMgt\Domain\Model\Dto\UserRegistrationDemand $demand
  * @param array $constraints Constraints
  *
  * @return void
  */
 protected function setStoragePageConstraint($query, $demand, &$constraints)
 {
     if ($demand->getStoragePage() != '') {
         $pidList = GeneralUtility::intExplode(',', $demand->getStoragePage(), true);
         $constraints[] = $query->in('pid', $pidList);
     }
 }