public function labelValidatorReturnsErrorsForInvalidLabels($label) { $this->assertTrue($this->validator->validate($label)->hasErrors()); }