Example #1
0
 public function testDefaultState()
 {
     $this->assertSame($this->ids, $this->query->getIds());
     $this->assertFalse($this->query->hasStartDate());
     $this->assertFalse($this->query->hasEndDate());
     $this->assertFalse($this->query->hasMetrics());
     $this->assertFalse($this->query->hasDimensions());
     $this->assertFalse($this->query->hasSorts());
     $this->assertFalse($this->query->hasFilters());
     $this->assertFalse($this->query->hasSegment());
     $this->assertSame(1, $this->query->getStartIndex());
     $this->assertSame(10000, $this->query->getMaxResults());
     $this->assertFalse($this->query->getPrettyPrint());
     $this->assertFalse($this->query->hasCallback());
 }