1212namespace Eukles \Service \RequestQueryModifier \Base ;
1313
1414use Eukles \Service \Request \QueryModifier \Modifier \Base \ModifierBase ;
15- use Eukles \ Test \ Util \ Request ;
15+ use InvalidArgumentException ;
1616use PHPUnit \Framework \TestCase ;
17+ use PHPUnit_Framework_MockObject_InvocationMocker ;
18+ use Test \Eukles \Request ;
1719
1820/**
1921 * Class ModifierTestBase
@@ -24,13 +26,13 @@ class ModifierBaseTest extends TestCase
2426{
2527
2628 /**
27- * @var ModifierBase|\ PHPUnit_Framework_MockObject_InvocationMocker $modifier
29+ * @var ModifierBase|PHPUnit_Framework_MockObject_InvocationMocker $modifier
2830 */
2931 protected $ modifier = null ;
3032
3133 public function setUp ()
3234 {
33- /** @var ModifierBase|\ PHPUnit_Framework_MockObject_InvocationMocker $modifier */
35+ /** @var ModifierBase|PHPUnit_Framework_MockObject_InvocationMocker $modifier */
3436 $ this ->modifier = $ this ->getMockForAbstractClass (ModifierBase::class, [new Request ()]);
3537
3638 $ this ->modifier ->expects ($ this ->any ())
@@ -57,7 +59,7 @@ public function testGetModifier()
5759 $ r = new Request (["test " => json_encode (["property " => "name " ])]);
5860 $ this ->modifier ->setModifierFromRequest ($ r );
5961 $ this ->assertEquals (["property " => "name " ], $ this ->modifier ->getModifier ('name ' ));
60- $ this ->expectException (\ InvalidArgumentException::class);
62+ $ this ->expectException (InvalidArgumentException::class);
6163 $ this ->modifier ->getModifier ('otherName ' );
6264 }
6365
0 commit comments