Cascade\Tests\Config\Loader\FileLoader\JsonTest::testSupportsWithJsonString PHP Метод

testSupportsWithJsonString() публичный Метод

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));
    }