public testWithUnknownKey ( ) |
public function testWithUnknownKey()
{
$collector = new ContaoDataCollector([]);
$method = new \ReflectionMethod($collector, 'getData');
$method->setAccessible(true);
$this->assertEquals([], $method->invokeArgs($collector, ['foo']));
}