| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 11 | class FieldTest extends TestCase |
||
| 12 | { |
||
| 13 | public function testField() |
||
| 14 | { |
||
| 15 | $field = new Field('key', 'val'); |
||
| 16 | $field |
||
| 17 | ->setChangeMessage('change-message') |
||
| 18 | ->setTextAlignment(Field::ALIGN_RIGHT) |
||
| 19 | ; |
||
| 20 | |||
| 21 | $array = $field->toArray(); |
||
| 22 | $this->assertArrayHasKey('key', $array); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function testDateField() |
||
| 32 | } |
||
| 33 | |||
| 34 | public function testNumberField() |
||
| 43 | } |
||
| 44 | } |
||
| 45 |