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 11
11
use Art4 \JsonApiClient \Accessable ;
12
12
use Art4 \JsonApiClient \Factory ;
13
13
use Art4 \JsonApiClient \Manager ;
14
- use Art4 \JsonApiClient \Tests \Fixtures \Factory as FixtureFactory ;
15
14
use PHPUnit \Framework \MockObject \MockObject ;
16
15
17
16
/**
@@ -139,30 +138,6 @@ public static function jsonValuesAsStringProviderWithoutObject(): array
139
138
return array_values ($ data );
140
139
}
141
140
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
-
166
141
/**
167
142
* Builds a Manager Mock and set it into the TestCase
168
143
*/
You can’t perform that action at this time.
0 commit comments