test_class.declarator: assetManager
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AssetManager assetManager;
test_class.type: AssetManager
test_class.var_name: assetManager
test_class.file: configuration-lib/src/test/java/ee/ria/DigiDoc/configuration/ConfigurationPropertiesTest.java
test_class.identifier: ConfigurationPropertiesTest
test_case.body: @Test
      public void loadProperties() throws IOException {
          when(assetManager.open(anyString())).thenReturn(getClass().getClassLoader().getResourceAsStream(ConfigurationProperties.PROPERTIES_FILE_NAME));
          ConfigurationProperties configurationProperties = new ConfigurationProperties(assetManager);
          assertEquals("https://id.eesti.ee/", configurationProperties.getCentralConfigurationServiceUrl());
          assertSame(7, configurationProperties.getConfigurationUpdateInterval());
      }
test_case.class_method_signature: ConfigurationPropertiesTest.loadProperties()
test_case.full_signature: @Test public void loadProperties()
test_case.identifier: loadProperties
test_case.invocations: thenReturn when open anyString getResourceAsStream getClassLoader getClass assertEquals getCentralConfigurationServiceUrl assertSame getConfigurationUpdateInterval
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void loadProperties()
focal_class.declarator: CENTRAL_CONFIGURATION_SERVICE_URL_PROPERTY = "central-configuration-service.url"
focal_class.modifier: public static final
focal_class.original_string: public static final String CENTRAL_CONFIGURATION_SERVICE_URL_PROPERTY = "central-configuration-service.url";
focal_class.type: String
focal_class.var_name: CENTRAL_CONFIGURATION_SERVICE_URL_PROPERTY
focal_class.declarator: CONFIGURATION_UPDATE_INTERVAL_PROPERTY = "configuration.update-interval"
focal_class.modifier: public static final
focal_class.original_string: public static final String CONFIGURATION_UPDATE_INTERVAL_PROPERTY = "configuration.update-interval";
focal_class.type: String
focal_class.var_name: CONFIGURATION_UPDATE_INTERVAL_PROPERTY
focal_class.declarator: CONFIGURATION_VERSION_SERIAL_PROPERTY = "configuration.version-serial"
focal_class.modifier: public static final
focal_class.original_string: public static final String CONFIGURATION_VERSION_SERIAL_PROPERTY = "configuration.version-serial";
focal_class.type: String
focal_class.var_name: CONFIGURATION_VERSION_SERIAL_PROPERTY
focal_class.declarator: CONFIGURATION_DOWNLOAD_DATE_PROPERTY = "configuration.download-date"
focal_class.modifier: public static final
focal_class.original_string: public static final String CONFIGURATION_DOWNLOAD_DATE_PROPERTY = "configuration.download-date";
focal_class.type: String
focal_class.var_name: CONFIGURATION_DOWNLOAD_DATE_PROPERTY
focal_class.declarator: PROPERTIES_FILE_NAME = "configuration.properties"
focal_class.modifier: public static final
focal_class.original_string: public static final String PROPERTIES_FILE_NAME = "configuration.properties";
focal_class.type: String
focal_class.var_name: PROPERTIES_FILE_NAME
focal_class.declarator: dateFormat
focal_class.modifier: private final
focal_class.original_string: private final SimpleDateFormat dateFormat;
focal_class.type: SimpleDateFormat
focal_class.var_name: dateFormat
focal_class.declarator: properties
focal_class.modifier: private
focal_class.original_string: private Properties properties;
focal_class.type: Properties
focal_class.var_name: properties
focal_class.file: configuration-lib/src/main/java/ee/ria/DigiDoc/configuration/ConfigurationProperties.java
focal_class.identifier: ConfigurationProperties
focal_class.class_method_signature: ConfigurationProperties.ConfigurationProperties(AssetManager assetManager)
focal_class.full_signature: public  ConfigurationProperties(AssetManager assetManager)
focal_class.identifier: ConfigurationProperties
focal_class.modifiers: public
focal_class.parameters: (AssetManager assetManager)
focal_class.signature:  ConfigurationProperties(AssetManager assetManager)
focal_class.class_method_signature: ConfigurationProperties.getConfigurationVersionSerial()
focal_class.full_signature: public int getConfigurationVersionSerial()
focal_class.identifier: getConfigurationVersionSerial
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getConfigurationVersionSerial()
focal_class.class_method_signature: ConfigurationProperties.getCentralConfigurationServiceUrl()
focal_class.full_signature:  String getCentralConfigurationServiceUrl()
focal_class.identifier: getCentralConfigurationServiceUrl
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCentralConfigurationServiceUrl()
focal_class.class_method_signature: ConfigurationProperties.getConfigurationUpdateInterval()
focal_class.full_signature:  int getConfigurationUpdateInterval()
focal_class.identifier: getConfigurationUpdateInterval
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getConfigurationUpdateInterval()
focal_class.class_method_signature: ConfigurationProperties.getPackagedConfigurationInitialDownloadDate()
focal_class.full_signature:  Date getPackagedConfigurationInitialDownloadDate()
focal_class.identifier: getPackagedConfigurationInitialDownloadDate
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getPackagedConfigurationInitialDownloadDate()
focal_class.class_method_signature: ConfigurationProperties.getProperties()
focal_class.full_signature:  Properties getProperties()
focal_class.identifier: getProperties
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties getProperties()
focal_class.class_method_signature: ConfigurationProperties.loadProperties(InputStream inputStream)
focal_class.full_signature: private void loadProperties(InputStream inputStream)
focal_class.identifier: loadProperties
focal_class.modifiers: private
focal_class.parameters: (InputStream inputStream)
focal_class.return: void
focal_class.signature: void loadProperties(InputStream inputStream)
focal_method.body: private void loadProperties(InputStream inputStream) {
          try {
              properties = new Properties();
              properties.load(inputStream);
          } catch (IOException e) {
              throw new IllegalStateException("Failed to load properties " + PROPERTIES_FILE_NAME + " file from assets", e);
          }
      }
focal_method.class_method_signature: ConfigurationProperties.loadProperties(InputStream inputStream)
focal_method.full_signature: private void loadProperties(InputStream inputStream)
focal_method.identifier: loadProperties
focal_method.invocations: load
focal_method.modifiers: private
focal_method.parameters: (InputStream inputStream)
focal_method.return: void
focal_method.signature: void loadProperties(InputStream inputStream)