public function testFromArray()
{
$configurationCollector = ConfigurationCollector::fromArray($args = ['type' => 'foo', 'abc' => 'def']);
$this->assertEquals('foo', $configurationCollector->getType());
$this->assertEquals($args, $configurationCollector->getArgs());
}