1<?php
2/*
3 * This file is part of PHPUnit.
4 *
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
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/**
12 * A Test can be run and collect its results.
13 */
14interface PHPUnit_Framework_Test extends Countable
15{
16    /**
17     * Runs a test and collects its result in a TestResult instance.
18     *
19     * @param PHPUnit_Framework_TestResult $result
20     *
21     * @return PHPUnit_Framework_TestResult
22     */
23    public function run(PHPUnit_Framework_TestResult $result = null);
24}
25