Test Failed
Push — master ( d9bc34...cc5eae )
by Vítězslav
05:22
created

EvidenceListTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 31
rs 10
c 0
b 0
f 0
wmc 3
lcom 1
cbo 2

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A checkLists() 0 5 1
A tearDown() 0 4 1
1
<?php
2
3
namespace Test\FlexiPeeHP;
4
5
use \FlexiPeeHP\EvidenceList;
6
7
/**
8
 * Generated by PHPUnit_SkeletonGenerator on 2017-09-03 at 01:01:15.
9
 */
10
class EvidenceListTest extends FlexiBeeROTest
11
{
12
    /**
13
     * @var EvidenceList
14
     */
15
    protected $object;
16
17
    /**
18
     * Sets up the fixture, for example, opens a network connection.
19
     * This method is called before a test is executed.
20
     */
21
    protected function setUp()
22
    {
23
        $this->object = new EvidenceList();
24
    }
25
26
    public function checkLists()
27
    {
28
        $this->assertTrue(count(EvidenceList::$evidences) > 80);
29
        $this->assertTrue($this->object->setEvidence('cenik'));
30
    }
31
32
    /**
33
     * Tears down the fixture, for example, closes a network connection.
34
     * This method is called after a test is executed.
35
     */
36
    protected function tearDown()
37
    {
38
39
    }
40
}
41