Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php{namespace}
2
require_once 'PHPUnit/Framework.php';{requireClassFile}
3
 
4
/**
5
 * Test class for {className}.
6
 * Generated by PHPUnit on {date} at {time}.
7
 */
8
class {testClassName} extends {namespaceSeparator}PHPUnit_Framework_TestCase
9
{
10
    /**
11
     * @var {className}
12
     */
13
    protected $object;
14
 
15
    /**
16
     * Sets up the fixture, for example, opens a network connection.
17
     * This method is called before a test is executed.
18
     */
19
    protected function setUp()
20
    {
21
        $this->object = new {className};
22
    }
23
 
24
    /**
25
     * Tears down the fixture, for example, closes a network connection.
26
     * This method is called after a test is executed.
27
     */
28
    protected function tearDown()
29
    {
30
    }
31
{methods}}
32
?>