@@ -235,7 +235,7 @@ public function testResolveExcessLevelUp()
235
235
236
236
public function testConfirmMediaTypeAcceptsJsonSchemaType ()
237
237
{
238
- $ uriRetriever = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' , array ( ' getContentType ' ) );
238
+ $ uriRetriever = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' );
239
239
$ retriever = new UriRetriever ();
240
240
241
241
$ uriRetriever ->expects ($ this ->at (0 ))
@@ -247,7 +247,7 @@ public function testConfirmMediaTypeAcceptsJsonSchemaType()
247
247
248
248
public function testConfirmMediaTypeAcceptsJsonType ()
249
249
{
250
- $ uriRetriever = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' , array ( ' getContentType ' ) );
250
+ $ uriRetriever = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' );
251
251
$ retriever = new UriRetriever ();
252
252
253
253
$ uriRetriever ->expects ($ this ->at (0 ))
@@ -262,7 +262,7 @@ public function testConfirmMediaTypeAcceptsJsonType()
262
262
*/
263
263
public function testConfirmMediaTypeThrowsExceptionForUnsupportedTypes ()
264
264
{
265
- $ uriRetriever = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' , array ( ' getContentType ' ) );
265
+ $ uriRetriever = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' );
266
266
$ retriever = new UriRetriever ();
267
267
268
268
$ uriRetriever ->expects ($ this ->at (0 ))
@@ -335,7 +335,7 @@ public function testRetrieveSchemaFromPackage()
335
335
336
336
public function testInvalidContentTypeEndpointsDefault ()
337
337
{
338
- $ mock = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' , array ( ' getContentType ' ) );
338
+ $ mock = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' );
339
339
$ mock ->method ('getContentType ' )->willReturn ('Application/X-Fake-Type ' );
340
340
$ retriever = new UriRetriever ();
341
341
@@ -348,7 +348,7 @@ public function testInvalidContentTypeEndpointsDefault()
348
348
*/
349
349
public function testInvalidContentTypeEndpointsUnknown ()
350
350
{
351
- $ mock = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' , array ( ' getContentType ' ) );
351
+ $ mock = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' );
352
352
$ mock ->method ('getContentType ' )->willReturn ('Application/X-Fake-Type ' );
353
353
$ retriever = new UriRetriever ();
354
354
@@ -357,7 +357,7 @@ public function testInvalidContentTypeEndpointsUnknown()
357
357
358
358
public function testInvalidContentTypeEndpointsAdded ()
359
359
{
360
- $ mock = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' , array ( ' getContentType ' ) );
360
+ $ mock = $ this ->getMock ('JsonSchema\Uri\Retrievers\UriRetrieverInterface ' );
361
361
$ mock ->method ('getContentType ' )->willReturn ('Application/X-Fake-Type ' );
362
362
$ retriever = new UriRetriever ();
363
363
$ retriever ->addInvalidContentTypeEndpoint ('http://example.com ' );
0 commit comments