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