Example #1
0
 /**
  * @covers PixelPolishers\Resolver\Config\Config::getDescription
  * @covers PixelPolishers\Resolver\Config\Config::setDescription
  */
 public function testDescriptionGetterSetter()
 {
     // Arrange
     $config = new Config();
     // Act
     $config->setDescription('test');
     // Assert
     $this->assertEquals('test', $config->getDescription());
 }
 protected function parseDescription(Config $config, $data)
 {
     if (array_key_exists('description', $data)) {
         $config->setDescription($data['description']);
     }
 }