test_class.declarator: CONFIG_URI = URI.create("system:ephemeris")
test_class.modifier: private static final
test_class.original_string: private static final URI CONFIG_URI = URI.create("system:ephemeris");
test_class.type: URI
test_class.var_name: CONFIG_URI
test_class.declarator: CONFIG_PARAMETER_NAME = "test"
test_class.modifier: private static final
test_class.original_string: private static final String CONFIG_PARAMETER_NAME = "test";
test_class.type: String
test_class.var_name: CONFIG_PARAMETER_NAME
test_class.declarator: CONFIG_PARAMETER_DEFAULT_VALUE = "first value,second value,third value"
test_class.modifier: private static final
test_class.original_string: private static final String CONFIG_PARAMETER_DEFAULT_VALUE = "first value,second value,third value";
test_class.type: String
test_class.var_name: CONFIG_PARAMETER_DEFAULT_VALUE
test_class.file: bundles/org.openhab.core.io.rest.core/src/test/java/org/openhab/core/io/rest/core/config/EnrichedConfigDescriptionDTOMapperTest.java
test_class.identifier: EnrichedConfigDescriptionDTOMapperTest
test_case.body: @Test
      public void testThatDefaultValueIsNotAList() {
          ConfigDescriptionParameter configDescriptionParameter = ConfigDescriptionParameterBuilder
                  .create(CONFIG_PARAMETER_NAME, Type.TEXT).withDefault(CONFIG_PARAMETER_DEFAULT_VALUE).build();
          ConfigDescription configDescription = ConfigDescriptionBuilder.create(CONFIG_URI)
                  .withParameter(configDescriptionParameter).build();
  
          ConfigDescriptionDTO cddto = EnrichedConfigDescriptionDTOMapper.map(configDescription);
          assertThat(cddto.parameters, hasSize(1));
  
          ConfigDescriptionParameterDTO cdpdto = cddto.parameters.get(0);
          assertThat(cdpdto, instanceOf(EnrichedConfigDescriptionParameterDTO.class));
          assertThat(cdpdto.defaultValue, is(CONFIG_PARAMETER_DEFAULT_VALUE));
          EnrichedConfigDescriptionParameterDTO ecdpdto = (EnrichedConfigDescriptionParameterDTO) cdpdto;
          assertThat(ecdpdto.defaultValues, is(nullValue()));
      }
test_case.class_method_signature: EnrichedConfigDescriptionDTOMapperTest.testThatDefaultValueIsNotAList()
test_case.full_signature: @Test public void testThatDefaultValueIsNotAList()
test_case.identifier: testThatDefaultValueIsNotAList
test_case.invocations: build withDefault create build withParameter create map assertThat hasSize get assertThat instanceOf assertThat is assertThat is nullValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testThatDefaultValueIsNotAList()
focal_class.file: bundles/org.openhab.core.io.rest.core/src/main/java/org/openhab/core/io/rest/core/config/EnrichedConfigDescriptionDTOMapper.java
focal_class.identifier: EnrichedConfigDescriptionDTOMapper
focal_class.class_method_signature: EnrichedConfigDescriptionDTOMapper.map(ConfigDescription configDescription)
focal_class.full_signature: public static ConfigDescriptionDTO map(ConfigDescription configDescription)
focal_class.identifier: map
focal_class.modifiers: public static
focal_class.parameters: (ConfigDescription configDescription)
focal_class.return: ConfigDescriptionDTO
focal_class.signature: ConfigDescriptionDTO map(ConfigDescription configDescription)
focal_class.class_method_signature: EnrichedConfigDescriptionDTOMapper.mapEnrichedParameters(
              List<ConfigDescriptionParameter> parameters)
focal_class.full_signature: public static List<ConfigDescriptionParameterDTO> mapEnrichedParameters(
              List<ConfigDescriptionParameter> parameters)
focal_class.identifier: mapEnrichedParameters
focal_class.modifiers: public static
focal_class.parameters: (
              List<ConfigDescriptionParameter> parameters)
focal_class.return: List<ConfigDescriptionParameterDTO>
focal_class.signature: List<ConfigDescriptionParameterDTO> mapEnrichedParameters(
              List<ConfigDescriptionParameter> parameters)
focal_class.superclass: extends ConfigDescriptionDTOMapper
focal_method.body: public static ConfigDescriptionDTO map(ConfigDescription configDescription) {
          List<ConfigDescriptionParameterGroupDTO> parameterGroups = mapParameterGroups(
                  configDescription.getParameterGroups());
          List<ConfigDescriptionParameterDTO> parameters = mapEnrichedParameters(configDescription.getParameters());
          return new ConfigDescriptionDTO(toDecodedString(configDescription.getUID()), parameters, parameterGroups);
      }
focal_method.class_method_signature: EnrichedConfigDescriptionDTOMapper.map(ConfigDescription configDescription)
focal_method.full_signature: public static ConfigDescriptionDTO map(ConfigDescription configDescription)
focal_method.identifier: map
focal_method.invocations: mapParameterGroups getParameterGroups mapEnrichedParameters getParameters toDecodedString getUID
focal_method.modifiers: public static
focal_method.parameters: (ConfigDescription configDescription)
focal_method.return: ConfigDescriptionDTO
focal_method.signature: ConfigDescriptionDTO map(ConfigDescription configDescription)