Exemplo n.º 1
0
 public function testDefaultState()
 {
     $this->assertFalse($this->query->hasL2());
     $this->assertFalse($this->query->hasStartDate());
     $this->assertFalse($this->query->hasEndDate());
     $this->assertFalse($this->query->hasFilter());
     $this->assertFalse($this->query->hasCode());
     $this->assertFalse($this->query->hasSegment());
     $this->assertSame(10000, $this->query->getMaxResults());
     $this->assertSame('dot', $this->query->getSep());
     $this->assertSame('fr', $this->query->getLng());
     $this->assertSame('total:displayed', $this->query->getInclude());
     $this->assertSame(1, $this->query->getPageNum());
 }