9
9
10
10
namespace ZendTest \ServiceManager \AbstractFactory ;
11
11
12
-
13
12
use ProxyManager \Factory \LazyLoadingValueHolderFactory ;
14
13
use Zend \ServiceManager \AbstractFactory \ConfigAbstractFactory ;
15
14
use Zend \ServiceManager \Proxy \LazyServiceFactory ;
22
21
class ConfigAbstractFactoryTest extends \PHPUnit_Framework_TestCase
23
22
{
24
23
25
- function testCanCreateShortCircuits ()
24
+ public function testCanCreateShortCircuits ()
26
25
{
27
26
$ abstractFactory = new ConfigAbstractFactory ();
28
27
$ serviceManager = new ServiceManager ();
29
28
30
29
self ::assertFalse ($ abstractFactory ->canCreate ($ serviceManager , 'MarcoSucks ' ));
31
30
}
32
31
33
- function testCanCreate ()
32
+ public function testCanCreate ()
34
33
{
35
34
$ abstractFactory = new ConfigAbstractFactory ();
36
35
$ serviceManager = new ServiceManager ();
@@ -47,7 +46,7 @@ function testCanCreate()
47
46
self ::assertFalse ($ abstractFactory ->canCreate ($ serviceManager , ServiceManager::class));
48
47
}
49
48
50
- function testInvokeWithInvokableClass ()
49
+ public function testInvokeWithInvokableClass ()
51
50
{
52
51
$ abstractFactory = new ConfigAbstractFactory ();
53
52
$ serviceManager = new ServiceManager ();
@@ -63,7 +62,7 @@ function testInvokeWithInvokableClass()
63
62
self ::assertInstanceOf (InvokableObject::class, $ abstractFactory ($ serviceManager , InvokableObject::class));
64
63
}
65
64
66
- function testInvokeWithSimpleArguments ()
65
+ public function testInvokeWithSimpleArguments ()
67
66
{
68
67
$ abstractFactory = new ConfigAbstractFactory ();
69
68
$ serviceManager = new ServiceManager ();
@@ -88,7 +87,7 @@ function testInvokeWithSimpleArguments()
88
87
);
89
88
}
90
89
91
- function testInvokeWithComplexArguments ()
90
+ public function testInvokeWithComplexArguments ()
92
91
{
93
92
$ abstractFactory = new ConfigAbstractFactory ();
94
93
$ serviceManager = new ServiceManager ();
0 commit comments