Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function testGetProject() |
||
14 | { |
||
15 | $project = new Project(); |
||
16 | $description = "desc" . rand(); |
||
17 | $project->setDescription($description); |
||
18 | $reference = new Reference($project); |
||
19 | $retrieved = $reference->getProject(); |
||
20 | $this->assertEquals($retrieved->getDescription(), $description); |
||
21 | } |
||
45 |