Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function testGetterSetters() |
||
26 | { |
||
27 | $this->assertNull($this->entity->getId()); |
||
28 | $this->assertNull($this->entity->getShortName()); |
||
29 | $this->assertNull($this->entity->getLabel()); |
||
30 | |||
31 | $this->entity->setId(2); |
||
32 | $this->entity->setShortName('ot'); |
||
33 | $this->entity->setLabel('Overtime'); |
||
34 | |||
35 | $this->assertSame(2, $this->entity->getId()); |
||
36 | $this->assertSame('ot', $this->entity->getShortName()); |
||
37 | $this->assertSame('Overtime', $this->entity->getLabel()); |
||
38 | } |
||
39 | } |
||
40 |