Security update for Core, with self-updated composer
[yaffs-website] / vendor / dflydev / dot-access-configuration / tests / Dflydev / DotAccessConfiguration / YamlConfigurationBuilderTest.php
diff --git a/vendor/dflydev/dot-access-configuration/tests/Dflydev/DotAccessConfiguration/YamlConfigurationBuilderTest.php b/vendor/dflydev/dot-access-configuration/tests/Dflydev/DotAccessConfiguration/YamlConfigurationBuilderTest.php
new file mode 100644 (file)
index 0000000..05b58b4
--- /dev/null
@@ -0,0 +1,34 @@
+<?php
+
+/*
+ * This file is a part of dflydev/dot-access-configuration.
+ * 
+ * (c) Dragonfly Development Inc.
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Dflydev\DotAccessConfiguration;
+
+class YamlConfigurationBuilderTest extends \PHPUnit_Framework_TestCase
+{
+    public function setUp()
+    {
+        if (!class_exists('Symfony\Component\Yaml\Yaml')) {
+            $this->markTestSkipped('The Symfony2 YAML library is not available');
+        }
+    }
+
+    public function testBuild()
+    {
+        $configurationBuilder = new YamlConfigurationBuilder;
+        $configuration = $configurationBuilder->build();
+    }
+
+    public function testBuildWithData()
+    {
+        $configurationBuilder = new YamlConfigurationBuilder('foo: bar');
+        $configuration = $configurationBuilder->build();
+    }
+}