Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class DLNodeTest extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | /** @test */ |
||
10 | public function it_can_construct_with_no_data() |
||
16 | } |
||
17 | |||
18 | /** @test */ |
||
19 | public function it_can_construct_with_data() |
||
20 | { |
||
21 | $node = new DLNode("foobar"); |
||
22 | $this->assertEquals($node->data, "foobar"); |
||
23 | } |
||
24 | |||
25 | /** @test */ |
||
26 | public function it_can_chain_previous_nodes() |
||
34 | } |
||
35 | |||
36 | /** @test */ |
||
37 | public function it_can_chain_next_nodes() |
||
45 | } |
||
46 | } |