test_class.declarator: validator = new LanguageCodeValidator()
test_class.modifier: private static final
test_class.original_string: private static final LanguageCodeValidator validator = new LanguageCodeValidator();
test_class.type: LanguageCodeValidator
test_class.var_name: validator
test_class.file: commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/validate/LanguageCodeValidatorTest.java
test_class.identifier: LanguageCodeValidatorTest
test_case.body: @Test
      public void testValidateGoodCases() throws XDSMetaDataException {
          validator.validate("en");
          validator.validate("abcdefgh");
          validator.validate("en-US");
          validator.validate("en-us");
          validator.validate("abcdefgh-ab123456");
          validator.validate("abcdefgh-ab123456-23");
      }
test_case.class_method_signature: LanguageCodeValidatorTest.testValidateGoodCases()
test_case.full_signature: @Test public void testValidateGoodCases()
test_case.identifier: testValidateGoodCases
test_case.invocations: validate validate validate validate validate validate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValidateGoodCases()
focal_class.declarator: CODE_PATTERN =
              Pattern.compile("[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern CODE_PATTERN =
              Pattern.compile("[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*");
focal_class.type: Pattern
focal_class.var_name: CODE_PATTERN
focal_class.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/validate/LanguageCodeValidator.java
focal_class.identifier: LanguageCodeValidator
focal_class.interfaces: implements ValueValidator
focal_class.class_method_signature: LanguageCodeValidator.validate(String value)
focal_class.full_signature: @Override public void validate(String value)
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: (String value)
focal_class.return: void
focal_class.signature: void validate(String value)
focal_method.body: @Override
      public void validate(String value) throws XDSMetaDataException {
          notNull(value, "value cannot be null");
          metaDataAssert(CODE_PATTERN.matcher(value).matches(),
                  INVALID_LANGUAGE_CODE, value);
      }
focal_method.class_method_signature: LanguageCodeValidator.validate(String value)
focal_method.full_signature: @Override public void validate(String value)
focal_method.identifier: validate
focal_method.invocations: notNull metaDataAssert matches matcher
focal_method.modifiers: @Override public
focal_method.parameters: (String value)
focal_method.return: void
focal_method.signature: void validate(String value)