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