public function testSupportsWithJsonString() { $this->jsonLoader->expects($this->once())->method('isFile')->willReturn(false); $json = Fixtures::getSampleJsonString(); $this->assertTrue($this->jsonLoader->supports($json)); }