public function testEmptyStringIsValid() { $this->context ->expects($this ->never()) ->method('addViolation'); $this->validator ->validate('', new CardScheme(array( 'schemes' => array(), ))); }