| Total Complexity | 5 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ProductDocDataExtensionTest extends SapphireTest |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected static $fixture_file = 'fixtures.yml'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * |
||
| 18 | */ |
||
| 19 | public function testGetProductsCt() |
||
| 20 | { |
||
| 21 | $object = $this->objFromFixture(CareCleaningDoc::class, 'one'); |
||
| 22 | $this->assertEquals($object->getProductsCt(), 1); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * |
||
| 27 | */ |
||
| 28 | public function testGetProductsList() |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * |
||
| 36 | */ |
||
| 37 | public function testGetCMSFields() |
||
| 38 | { |
||
| 39 | $object = $this->objFromFixture(CareCleaningDoc::class, 'one'); |
||
| 40 | $fields = $object->getCMSFields(); |
||
| 41 | $this->assertInstanceOf(FieldList::class, $fields); |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * |
||
| 46 | */ |
||
| 47 | public function testLink() |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * |
||
| 55 | */ |
||
| 56 | public function testGetIsProductDoc() |
||
| 60 | } |
||
| 61 | } |
||
| 62 |