Completed
Push — master ( fa0e3f...25162d )
by Adam
02:16
created

PaginationTest::tearDown()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php
2
namespace Pager\Tests;
3
4
use Pager\Pagination;
5
use PHPUnit\Framework\TestCase;
6
7
class PaginationTest extends TestCase{
8
    
9
    protected $pagination;
10
    
11
    public function setUp() {
12
        $this->pagination = new Pagination();
13
    }
14
    
15
    public function tearDown(){
16
        unset($this->pagination);
17
    }
18
    
19
    /**
20
     * @covers Pager\Pagination::paging
21
     * @covers Pager\Pagination::buildLink
22
     * @covers Pager\Pagination::getPage
23
     */
24
    public function testCreatePager(){
25
        $this->pagination->paging(72, '/test-page');
26
    }
27
    
28
    /**
29
     * @covers Pager\Pagination::paging
30
     * @covers Pager\Pagination::buildLink
31
     * @covers Pager\Pagination::getPage
32
     */
33
    public function testNoPagerNeeded(){
34
        
35
    }
36
    
37
    /**
38
     * @covers Pager\Pagination::paging
39
     * @covers Pager\Pagination::buildLink
40
     * @covers Pager\Pagination::getPage
41
     * @covers Pager\Pagination::preLinks
42
     * @covers Pager\Pagination::postLinks
43
     */
44
    public function testPagerWithArrows(){
45
        
46
    }
47
    
48
    /**
49
     * @covers Pager\Pagination::paging
50
     * @covers Pager\Pagination::buildLink
51
     * @covers Pager\Pagination::getPage
52
     * @covers Pager\Pagination::preLinks
53
     * @covers Pager\Pagination::postLinks
54
     */
55
    public function testPagerWithQueryString(){
56
        
57
    }
58
}
59