88 * file that was distributed with this source code.
99 */
1010
11- namespace Phergie \Tests \Plugin \Url ;
11+ namespace Phergie \Tests \Irc \ Plugin \ React \Url ;
1212
1313use Phake ;
14- use Phergie \Plugin \Url \DefaultUrlHandler ;
15- use Phergie \Plugin \Url \Url ;
14+ use Phergie \Irc \ Plugin \ React \Url \DefaultUrlHandler ;
15+ use Phergie \Irc \ Plugin \ React \Url \Url ;
1616
1717class DefaultUrlHandlerTest extends \PHPUnit_Framework_TestCase
1818{
@@ -50,7 +50,7 @@ public function testHandleStdClass() {
5050 public function testHandle () {
5151 $ url = new Url ('' , '' , array (), 200 , 3.14159265359 );
5252
53- $ handler = Phake::partialMock ('Phergie\Plugin\Url\DefaultUrlHandler ' );
53+ $ handler = Phake::partialMock ('Phergie\Irc\ Plugin\React \Url\DefaultUrlHandler ' );
5454 Phake::when ($ handler )->handle ($ url )->thenCallParent ();
5555 Phake::when ($ handler )->getDefaultReplacements ($ url )->thenReturn (array ());
5656 Phake::when ($ handler )->extract ($ this ->isType ('array ' ), $ url )->thenReturn (array ());
@@ -144,11 +144,11 @@ public function testExtract() {
144144 ), 200 , 3.14159265359 );
145145 $ replacements = array ();
146146
147- $ html = Phake::mock ('Phergie\Plugin\Url\Mime\Html ' );
147+ $ html = Phake::mock ('Phergie\Irc\ Plugin\React \Url\Mime\Html ' );
148148 Phake::when ($ html )->matches ('text/html ' )->thenCallParent ();
149149 Phake::when ($ html )->extract ($ replacements , $ url )->thenReturn ($ replacements );
150150
151- $ handler = Phake::partialMock ('Phergie\Plugin\Url\DefaultUrlHandler ' , null , array (
151+ $ handler = Phake::partialMock ('Phergie\Irc\ Plugin\React \Url\DefaultUrlHandler ' , null , array (
152152 $ html ,
153153 ));
154154
@@ -166,11 +166,11 @@ public function testExtractNoMatch() {
166166 ), 200 , 3.14159265359 );
167167 $ replacements = array ();
168168
169- $ html = Phake::mock ('Phergie\Plugin\Url\Mime\Html ' );
169+ $ html = Phake::mock ('Phergie\Irc\ Plugin\React \Url\Mime\Html ' );
170170 Phake::when ($ html )->matches ('text/xml ' )->thenCallParent ();
171171 Phake::when ($ html )->extract ($ replacements , $ url )->thenReturn ($ replacements );
172172
173- $ handler = Phake::partialMock ('Phergie\Plugin\Url\DefaultUrlHandler ' , null , array (
173+ $ handler = Phake::partialMock ('Phergie\Irc\ Plugin\React \Url\DefaultUrlHandler ' , null , array (
174174 $ html ,
175175 ));
176176
@@ -179,4 +179,4 @@ public function testExtractNoMatch() {
179179 Phake::verify ($ html )->matches ('text/xml ' );
180180 Phake::verifyNoFurtherInteraction ($ html );
181181 }
182- }
182+ }
0 commit comments