public function testTo() { $value = 123123123; $this->assertNull($this->query->to()); $this->assertSame($this->query, $this->query->to($value)); $this->assertSame($value, $this->query->to()); }