]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/PHPUnit/PHPUnit/Util/Skeleton/Template/TestClass.tpl.dist
Release 6.2.0
[Github/sugarcrm.git] / tests / PHPUnit / PHPUnit / Util / Skeleton / Template / TestClass.tpl.dist
1 <?php{namespace}{requireClassFile}
2
3 /**
4  * Test class for {className}.
5  * Generated by PHPUnit on {date} at {time}.
6  */
7 class {testClassName} extends {namespaceSeparator}PHPUnit_Framework_TestCase
8 {
9     /**
10      * @var {className}
11      */
12     protected $object;
13
14     /**
15      * Sets up the fixture, for example, opens a network connection.
16      * This method is called before a test is executed.
17      */
18     protected function setUp()
19     {
20         $this->object = new {className};
21     }
22
23     /**
24      * Tears down the fixture, for example, closes a network connection.
25      * This method is called after a test is executed.
26      */
27     protected function tearDown()
28     {
29     }
30 {methods}}
31 ?>