Completed
Pull Request — master (#45)
by jesus
02:39
created

AppControllerTest::testConnect()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
namespace FacturaScripts\Core\App;
3
4
/**
5
 * Generated by PHPUnit_SkeletonGenerator on 2017-07-19 at 11:58:01.
6
 */
7
class AppControllerTest extends \PHPUnit_Framework_TestCase
8
{
9
10
    /**
11
     * @var AppController
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 AppController('.'.DIRECTORY_SEPARATOR);
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
    }
32
33
    
34
    public function testConnect()
35
    {
36
        // Remove the following lines when you implement this test.
37
        $this->assertTrue($this->object->connect());
38
    }
39
    
40
41
    /**
42
     * @covers FacturaScripts\Core\App\AppController::run
43
     * @todo   Implement testRun().
44
     */
45
    public function testRun()
46
    {
47
        // Remove the following lines when you implement this test.
48
        $this->assertTrue($this->object->run());
49
    }
50
}
51