public function testQueryCanChange() { $r = new puzzle_message_Request('GET', 'http://www.foo.com?baz=bar'); $r->setQuery(new puzzle_Query(array('foo' => 'bar'))); $this->assertEquals('foo=bar', $r->getQuery()); }