protected function parseName(Config $config, $data)
 {
     if (strpos($data['name'], '/') === false) {
         throw new RuntimeException('Invalid name, missing vendor.');
     }
     list($vendor, $name) = explode('/', $data['name'], 2);
     $config->setName($name);
     $config->setVendor($vendor);
 }
 /**
  * @covers PixelPolishers\Resolver\Config\Config::getVendor
  * @covers PixelPolishers\Resolver\Config\Config::setVendor
  */
 public function testVendorGetterSetter()
 {
     // Arrange
     $config = new Config();
     // Act
     $config->setVendor('test');
     // Assert
     $this->assertEquals('test', $config->getVendor());
 }