Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / EventDispatcher / Event / AfterTested.php
1 <?php
2
3 /*
4  * This file is part of the Behat.
5  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 namespace Behat\Testwork\EventDispatcher\Event;
12
13 use Behat\Testwork\Tester\Result\TestResult;
14 use Behat\Testwork\Tester\Setup\Teardown;
15
16 /**
17  * Represents an event right after a test was completed.
18  *
19  * @author Konstantin Kudryashov <ever.zet@gmail.com>
20  */
21 interface AfterTested
22 {
23     /**
24      * Returns current test result.
25      *
26      * @return TestResult
27      */
28     public function getTestResult();
29
30     /**
31      * Returns current test teardown.
32      *
33      * @return Teardown
34      */
35     public function getTeardown();
36 }