Cascade\Tests\Config\Loader\FileLoader\JsonTest::testSupportsWithJsonString PHP Method

testSupportsWithJsonString() public method

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