/** * Tests that an empty array is returned if $this->data is not an array. */ public function testWithNonArrayData() { $collector = new ContaoDataCollector([]); $collector->unserialize('N;'); $this->assertEquals([], $collector->getAdditionalData()); }