@@ -36,7 +36,7 @@ public function testConstructNoExtensions()
3636
3737 public function testConstructXCacheCoverageNotEnabled ()
3838 {
39- $ function = $ this ->getMock ('VIPSoft\Test\FunctionProxy ' );
39+ $ function = $ this ->createMock ('VIPSoft\Test\FunctionProxy ' );
4040 $ function ->expects ($ this ->once ())
4141 ->method ('invokeFunction ' )
4242 ->will ($ this ->returnValue (true ));
@@ -63,7 +63,7 @@ public function testConstructXCacheCoverageNotEnabled()
6363
6464 public function testConstructXCache ()
6565 {
66- $ function = $ this ->getMock ('VIPSoft\Test\FunctionProxy ' );
66+ $ function = $ this ->createMock ('VIPSoft\Test\FunctionProxy ' );
6767 $ function ->expects ($ this ->once ())
6868 ->method ('invokeFunction ' )
6969 ->will ($ this ->returnValue (true ));
@@ -83,7 +83,7 @@ public function testConstructXCache()
8383
8484 public function testStartXCache ()
8585 {
86- $ function = $ this ->getMock ('VIPSoft\Test\FunctionProxy ' );
86+ $ function = $ this ->createMock ('VIPSoft\Test\FunctionProxy ' );
8787 $ function ->expects ($ this ->once ())
8888 ->method ('invokeFunction ' )
8989 ->will ($ this ->returnValue (true ));
@@ -98,7 +98,7 @@ public function testStartXCache()
9898 return true ;
9999 });
100100
101- $ function = $ this ->getMock ('VIPSoft\Test\FunctionProxy ' );
101+ $ function = $ this ->createMock ('VIPSoft\Test\FunctionProxy ' );
102102 $ function ->expects ($ this ->once ())
103103 ->method ('invokeFunction ' );
104104
@@ -110,7 +110,7 @@ public function testStartXCache()
110110
111111 public function testStopXCache ()
112112 {
113- $ function = $ this ->getMock ('VIPSoft\Test\FunctionProxy ' );
113+ $ function = $ this ->createMock ('VIPSoft\Test\FunctionProxy ' );
114114 $ function ->expects ($ this ->once ())
115115 ->method ('invokeFunction ' )
116116 ->will ($ this ->returnValue (true ));
@@ -125,7 +125,7 @@ public function testStopXCache()
125125 return true ;
126126 });
127127
128- $ function = $ this ->getMock ('VIPSoft\Test\FunctionProxy ' );
128+ $ function = $ this ->createMock ('VIPSoft\Test\FunctionProxy ' );
129129 $ function ->expects ($ this ->exactly (2 ))
130130 ->method ('invokeFunction ' );
131131
0 commit comments