test_class.file: nvadaemon/src/test/java/com/microsoft/azure/practices/nvadaemon/config/NvaDaemonConfigurationTest.java
test_class.identifier: NvaDaemonConfigurationTest
test_case.body: @Test
      void test_invalid_reader() {
          try (StringReader reader = new StringReader("")) {
              Assertions.assertThrows(ConfigurationException.class,
                  () -> NvaDaemonConfiguration.parseConfig(reader));
          }
      }
test_case.class_method_signature: NvaDaemonConfigurationTest.test_invalid_reader()
test_case.full_signature: @Test void test_invalid_reader()
test_case.identifier: test_invalid_reader
test_case.invocations: assertThrows parseConfig
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_invalid_reader()
focal_class.declarator: log = LoggerFactory.getLogger(NvaDaemonConfiguration.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(NvaDaemonConfiguration.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: zookeeperConfiguration
focal_class.modifier: private
focal_class.original_string: private ZookeeperConfiguration zookeeperConfiguration;
focal_class.type: ZookeeperConfiguration
focal_class.var_name: zookeeperConfiguration
focal_class.declarator: daemonConfiguration
focal_class.modifier: private
focal_class.original_string: private DaemonConfiguration daemonConfiguration;
focal_class.type: DaemonConfiguration
focal_class.var_name: daemonConfiguration
focal_class.file: nvadaemon/src/main/java/com/microsoft/azure/practices/nvadaemon/config/NvaDaemonConfiguration.java
focal_class.identifier: NvaDaemonConfiguration
focal_class.class_method_signature: NvaDaemonConfiguration.NvaDaemonConfiguration(@JsonProperty("zookeeper")ZookeeperConfiguration zookeeperConfiguration,
                                    @JsonProperty("daemon")DaemonConfiguration daemonConfiguration)
focal_class.full_signature: @JsonCreator public  NvaDaemonConfiguration(@JsonProperty("zookeeper")ZookeeperConfiguration zookeeperConfiguration,
                                    @JsonProperty("daemon")DaemonConfiguration daemonConfiguration)
focal_class.identifier: NvaDaemonConfiguration
focal_class.modifiers: @JsonCreator public
focal_class.parameters: (@JsonProperty("zookeeper")ZookeeperConfiguration zookeeperConfiguration,
                                    @JsonProperty("daemon")DaemonConfiguration daemonConfiguration)
focal_class.signature:  NvaDaemonConfiguration(@JsonProperty("zookeeper")ZookeeperConfiguration zookeeperConfiguration,
                                    @JsonProperty("daemon")DaemonConfiguration daemonConfiguration)
focal_class.class_method_signature: NvaDaemonConfiguration.getZookeeperConfiguration()
focal_class.full_signature: public ZookeeperConfiguration getZookeeperConfiguration()
focal_class.identifier: getZookeeperConfiguration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ZookeeperConfiguration
focal_class.signature: ZookeeperConfiguration getZookeeperConfiguration()
focal_class.class_method_signature: NvaDaemonConfiguration.getDaemonConfiguration()
focal_class.full_signature: public DaemonConfiguration getDaemonConfiguration()
focal_class.identifier: getDaemonConfiguration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DaemonConfiguration
focal_class.signature: DaemonConfiguration getDaemonConfiguration()
focal_class.class_method_signature: NvaDaemonConfiguration.parseConfig(Reader reader)
focal_class.full_signature: public static NvaDaemonConfiguration parseConfig(Reader reader)
focal_class.identifier: parseConfig
focal_class.modifiers: public static
focal_class.parameters: (Reader reader)
focal_class.return: NvaDaemonConfiguration
focal_class.signature: NvaDaemonConfiguration parseConfig(Reader reader)
focal_method.body: public static NvaDaemonConfiguration parseConfig(Reader reader) throws ConfigurationException {
          Preconditions.checkNotNull(reader, "reader cannot be null");
          try {
              ObjectMapper mapper = new ObjectMapper()
                  .disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
  
              NvaDaemonConfiguration configuration =
                  mapper.readValue(reader, NvaDaemonConfiguration.class);
              return configuration;
          } catch (IOException ioe) {
              throw new ConfigurationException("Error reading configuration", ioe);
          }
      }
focal_method.class_method_signature: NvaDaemonConfiguration.parseConfig(Reader reader)
focal_method.full_signature: public static NvaDaemonConfiguration parseConfig(Reader reader)
focal_method.identifier: parseConfig
focal_method.invocations: checkNotNull disable readValue
focal_method.modifiers: public static
focal_method.parameters: (Reader reader)
focal_method.return: NvaDaemonConfiguration
focal_method.signature: NvaDaemonConfiguration parseConfig(Reader reader)