Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Tester / Setup / Teardown.php
diff --git a/vendor/behat/behat/src/Behat/Testwork/Tester/Setup/Teardown.php b/vendor/behat/behat/src/Behat/Testwork/Tester/Setup/Teardown.php
new file mode 100644 (file)
index 0000000..fbb445b
--- /dev/null
@@ -0,0 +1,33 @@
+<?php
+
+/*
+ * This file is part of the Behat.
+ * (c) Konstantin Kudryashov <ever.zet@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Behat\Testwork\Tester\Setup;
+
+/**
+ * Represents a result of test tearDown action.
+ *
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
+ */
+interface Teardown
+{
+    /**
+     * Returns true if fixtures have been handled successfully.
+     *
+     * @return Boolean
+     */
+    public function isSuccessful();
+
+    /**
+     * Checks if tear down has produced any output.
+     *
+     * @return Boolean
+     */
+    public function hasOutput();
+}