| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class ElementCountDownTest extends SapphireTest |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected static $fixture_file = '../fixtures.yml'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * |
||
| 23 | */ |
||
| 24 | public function testGetType() |
||
| 25 | { |
||
| 26 | $object = Injector::inst()->create(ElementCountDown::class); |
||
| 27 | $this->assertEquals($object->getType(), 'Count Down'); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * |
||
| 32 | */ |
||
| 33 | public function testGetClientConfig() |
||
| 34 | { |
||
| 35 | $element = $this->objFromFixture(ElementCountDown::class, 'endonly'); |
||
| 36 | $this->assertInstanceOf(ArrayData::class, $element->getClientConfig()); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * |
||
| 41 | */ |
||
| 42 | public function testEncodeArrayValues() |
||
| 49 | } |
||
| 50 | } |
||
| 51 |