Exemplo n.º 1
0
 public function testSegment()
 {
     $segment = 'foo';
     $this->query->setSegment($segment);
     $this->assertTrue($this->query->hasSegment());
     $this->assertSame($segment, $this->query->getSegment());
 }