Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class TextCheckboxGroupFieldTest extends SapphireTest |
||
12 | { |
||
13 | /** |
||
14 | * @var TextCheckboxGroupField |
||
15 | */ |
||
16 | protected $field; |
||
17 | |||
18 | protected function setUp() |
||
23 | } |
||
24 | |||
25 | public function testFieldIsAssignedFirstFieldsTitleInConstructor() |
||
26 | { |
||
27 | $this->assertSame('Title', $this->field->Title()); |
||
28 | $this->assertSame('Title', $this->field->getChildren()->first()->Title()); |
||
29 | } |
||
30 | |||
31 | public function testFieldReturnsCompositeFieldTemplateOnReadonlyTransformation() |
||
45 | ); |
||
46 | } |
||
48 |