/**
  * 
  * @param string $vendorExtensionSeverityLevel
  * @return Configuration
  * @throws \InvalidArgumentException
  */
 public function setVendorExtensionSeverityLevel($vendorExtensionSeverityLevel)
 {
     if (!VendorExtensionSeverityLevel::isValid($vendorExtensionSeverityLevel)) {
         throw new \InvalidArgumentException('Invalid severity level, must be one of [' . implode(', ', VendorExtensionSeverityLevel::getValidValues()) . ']', 1);
     }
     $this->vendorExtensionSeverityLevel = $vendorExtensionSeverityLevel;
     return $this;
 }
 public function testAllInvalidValuesAreInvalid()
 {
     foreach (array('foo', 'bar') as $inValidValue) {
         $this->assertFalse(VendorExtensionSeverityLevel::isValid($inValidValue));
     }
 }