public static function getSampleYamlString() { return trim('---' . "\n" . 'greeting: "hello"' . "\n" . 'to: "you"' . "\n"); }
/** * Test loading config from a valid file */ public function testReadFrom() { $this->assertEquals(Fixtures::getSampleYamlString(), $this->mock->readFrom(Fixtures::getSampleYamlFile())); }