Completed
Push — master ( f61bef...5bc9a1 )
by Nikolai
02:51
created

FileTest   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 72
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 6
c 1
b 0
f 1
lcom 1
cbo 2
dl 0
loc 72
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A tearDown() 0 3 1
A testAdd() 0 7 1
A testUpdate() 0 7 1
A testDelete() 0 7 1
A testExport() 0 7 1
1
<?php
2
namespace Tests;
3
4
use ElKuKu\Crowdin\Package\File;
5
use PHPUnit_Framework_TestCase;
6
use Tests\Client\Fake;
7
8
/**
9
 * Generated by PHPUnit_SkeletonGenerator on 2016-06-07 at 11:14:24.
10
 */
11
class FileTest extends PHPUnit_Framework_TestCase
12
{
13
    /**
14
     * @var File
15
     */
16
    protected $object;
17
18
    /**
19
     * Sets up the fixture, for example, opens a network connection.
20
     * This method is called before a test is executed.
21
     */
22
    protected function setUp()
23
    {
24
        $this->object = new File('x', 'y', new Fake());
25
    }
26
27
    /**
28
     * Tears down the fixture, for example, closes a network connection.
29
     * This method is called after a test is executed.
30
     */
31
    protected function tearDown()
32
    {
33
    }
34
35
    /**
36
     * @covers ElKuKu\Crowdin\Package\File::add
37
     * @todo   Implement testAdd().
38
     */
39
    public function testAdd()
40
    {
41
        // Remove the following lines when you implement this test.
42
        $this->markTestIncomplete(
43
            'This test has not been implemented yet.'
44
        );
45
    }
46
47
    /**
48
     * @covers ElKuKu\Crowdin\Package\File::update
49
     * @todo   Implement testUpdate().
50
     */
51
    public function testUpdate()
52
    {
53
        // Remove the following lines when you implement this test.
54
        $this->markTestIncomplete(
55
            'This test has not been implemented yet.'
56
        );
57
    }
58
59
    /**
60
     * @covers ElKuKu\Crowdin\Package\File::delete
61
     * @todo   Implement testDelete().
62
     */
63
    public function testDelete()
64
    {
65
        // Remove the following lines when you implement this test.
66
        $this->markTestIncomplete(
67
            'This test has not been implemented yet.'
68
        );
69
    }
70
71
    /**
72
     * @covers ElKuKu\Crowdin\Package\File::export
73
     * @todo   Implement testExport().
74
     */
75
    public function testExport()
76
    {
77
        // Remove the following lines when you implement this test.
78
        $this->markTestIncomplete(
79
            'This test has not been implemented yet.'
80
        );
81
    }
82
}
83