File tree Expand file tree Collapse file tree 2 files changed +0
-60
lines changed
Expand file tree Collapse file tree 2 files changed +0
-60
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111use Art4 \JsonApiClient \Accessable ;
1212use Art4 \JsonApiClient \Factory ;
1313use Art4 \JsonApiClient \Manager ;
14- use Art4 \JsonApiClient \Tests \Fixtures \Factory as FixtureFactory ;
1514use PHPUnit \Framework \MockObject \MockObject ;
1615
1716/**
@@ -139,30 +138,6 @@ public static function jsonValuesAsStringProviderWithoutObject(): array
139138 return array_values ($ data );
140139 }
141140
142- /**
143- * Builds a Manager Mock
144- */
145- public function buildManagerMock ()
146- {
147- // Mock factory
148- $ factory = new FixtureFactory ();
149- $ factory ->testcase = $ this ;
150-
151- // Mock Manager
152- $ manager = $ this ->createMock (Manager::class);
153-
154- $ manager ->expects ($ this ->any ())
155- ->method ('getFactory ' )
156- ->will ($ this ->returnValue ($ factory ));
157-
158- $ manager ->expects ($ this ->any ())
159- ->method ('getConfig ' )
160- ->with ('optional_item_id ' )
161- ->willReturn (false );
162-
163- return $ manager ;
164- }
165-
166141 /**
167142 * Builds a Manager Mock and set it into the TestCase
168143 */
You can’t perform that action at this time.
0 commit comments