20
20
use Zend \View \Resolver \TemplatePathStack ;
21
21
use Zend \View \Variables ;
22
22
use Zend \Filter \FilterChain ;
23
- use ZendTest \View \TestAsset \SharedInstance ;
24
- use ZendTest \View \TestAsset \Uninvokable ;
23
+ use ZendTest \View \TestAsset ;
25
24
26
25
/**
27
26
* @group Zend_View
@@ -221,11 +220,11 @@ public function testPropertyOverloadingShouldProxyToVariablesContainer()
221
220
public function testMethodOverloadingShouldReturnHelperInstanceIfNotInvokable ()
222
221
{
223
222
$ helpers = new HelperPluginManager (new ServiceManager (), ['invokables ' => [
224
- 'uninvokable ' => Uninvokable::class,
223
+ 'uninvokable ' => TestAsset \ Uninvokable::class,
225
224
]]);
226
225
$ this ->renderer ->setHelperPluginManager ($ helpers );
227
226
$ helper = $ this ->renderer ->uninvokable ();
228
- $ this ->assertInstanceOf (Uninvokable::class, $ helper );
227
+ $ this ->assertInstanceOf (TestAsset \ Uninvokable::class, $ helper );
229
228
}
230
229
231
230
/**
@@ -234,7 +233,7 @@ public function testMethodOverloadingShouldReturnHelperInstanceIfNotInvokable()
234
233
public function testMethodOverloadingShouldInvokeHelperIfInvokable ()
235
234
{
236
235
$ helpers = new HelperPluginManager (new ServiceManager (), ['invokables ' => [
237
- 'invokable ' => Uninvokable ::class,
236
+ 'invokable ' => TestAsset \Invokable ::class,
238
237
]]);
239
238
$ this ->renderer ->setHelperPluginManager ($ helpers );
240
239
$ return = $ this ->renderer ->invokable ('it works! ' );
@@ -445,7 +444,7 @@ public function testSharedInstanceHelper()
445
444
{
446
445
$ helpers = new HelperPluginManager (new ServiceManager (), [
447
446
'invokables ' => [
448
- 'sharedinstance ' => SharedInstance::class,
447
+ 'sharedinstance ' => TestAsset \ SharedInstance::class,
449
448
],
450
449
'shared ' => [
451
450
'sharedinstance ' => false ,
0 commit comments