public function testSign() { $signer = new UriSigner('foobar'); $this ->assertContains('?_hash=', $signer ->sign('http://example.com/foo')); $this ->assertContains('&_hash=', $signer ->sign('http://example.com/foo?foo=bar')); }