public function testSaveYamlWritesCorrectYaml() { $this->writer->saveYaml($this->getPath('test.yaml')); $this->assertEquals(loadFixtureContent('Configuration/expected.yaml'), $this->getContents('test.yaml')); }
public function testParserCreatesYAMLFromArray() { $p = $this->getYAMLParser(); $this->assertEquals(loadFixtureContent('Configuration/Parsers/yaml_string.yaml'), $p->toYaml($this->expectedValueFromYAMLString)); }