Cascade\Tests\Config\Loader\FileLoader\YamlTest::testLoad PHP Метод

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

Test loading a Yaml string
public testLoad ( )
    public function testLoad()
    {
        $yaml = Fixtures::getSampleYamlString();
        $this->yamlLoader->expects($this->once())->method('readFrom')->willReturn($yaml);
        $this->assertEquals(YamlParser::parse($yaml), $this->yamlLoader->load($yaml));
    }