Esempio n. 1
0
 public function testEscapeUrl()
 {
     $user = new TestUser('Hofbräuhaus / München');
     $user->fetch();
     $request = Castle_RequestTransport::getLastRequest();
     $this->assertStringEndsWith('Hofbr%C3%A4uhaus%20%2F%20M%C3%BCnchen', $request['url']);
 }