test_class.declarator: DB_PASSWORD = "Test Password"
test_class.modifier: public static final
test_class.original_string: public static final String DB_PASSWORD = "Test Password";
test_class.type: String
test_class.var_name: DB_PASSWORD
test_class.declarator: ENCRYPTED_PASSWORD = encrypt(DB_PASSWORD)
test_class.modifier: private final
test_class.original_string: private final String ENCRYPTED_PASSWORD = encrypt(DB_PASSWORD);
test_class.type: String
test_class.var_name: ENCRYPTED_PASSWORD
test_class.declarator: mockedCryptoService
test_class.modifier: @Mock private
test_class.original_string: @Mock private CryptoService mockedCryptoService;
test_class.type: CryptoService
test_class.var_name: mockedCryptoService
test_class.declarator: tempKeyStoreFolder = new TemporaryFolder()
test_class.modifier: @Rule public
test_class.original_string: @Rule public TemporaryFolder tempKeyStoreFolder = new TemporaryFolder();
test_class.type: TemporaryFolder
test_class.var_name: tempKeyStoreFolder
test_class.declarator: fakeLoader
test_class.modifier: private
test_class.original_string: private PropertiesLoader fakeLoader;
test_class.type: PropertiesLoader
test_class.var_name: fakeLoader
test_class.file: dbfit-java/core/src/test/java/dbfit/util/PropertiesLoaderTest.java
test_class.identifier: PropertiesLoaderTest
test_case.body: @Test
      public void unwrapEncryptedValueTest() {
          String value = "XYZ";
          String wrapped = wrapEncryptedValue(value);
  
          assertEquals(value, PropertiesLoader.unwrapEncryptedValue(wrapped));
      }
test_case.class_method_signature: PropertiesLoaderTest.unwrapEncryptedValueTest()
test_case.full_signature: @Test public void unwrapEncryptedValueTest()
test_case.identifier: unwrapEncryptedValueTest
test_case.invocations: wrapEncryptedValue assertEquals unwrapEncryptedValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void unwrapEncryptedValueTest()
focal_class.declarator: crypto
focal_class.modifier: private
focal_class.original_string: private CryptoService crypto;
focal_class.type: CryptoService
focal_class.var_name: crypto
focal_class.file: dbfit-java/core/src/main/java/dbfit/util/PropertiesLoader.java
focal_class.identifier: PropertiesLoader
focal_class.class_method_signature: PropertiesLoader.PropertiesLoader(CryptoService cryptoService)
focal_class.full_signature: public  PropertiesLoader(CryptoService cryptoService)
focal_class.identifier: PropertiesLoader
focal_class.modifiers: public
focal_class.parameters: (CryptoService cryptoService)
focal_class.signature:  PropertiesLoader(CryptoService cryptoService)
focal_class.class_method_signature: PropertiesLoader.PropertiesLoader()
focal_class.full_signature: public  PropertiesLoader()
focal_class.identifier: PropertiesLoader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  PropertiesLoader()
focal_class.class_method_signature: PropertiesLoader.loadFromList(List<String> lines)
focal_class.full_signature: public Map<String, String> loadFromList(List<String> lines)
focal_class.identifier: loadFromList
focal_class.modifiers: public
focal_class.parameters: (List<String> lines)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> loadFromList(List<String> lines)
focal_class.class_method_signature: PropertiesLoader.loadFromFile(String path)
focal_class.full_signature: public Map<String, String> loadFromFile(String path)
focal_class.identifier: loadFromFile
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> loadFromFile(String path)
focal_class.class_method_signature: PropertiesLoader.unwrapEncryptedValue(String encValue)
focal_class.full_signature: public static String unwrapEncryptedValue(String encValue)
focal_class.identifier: unwrapEncryptedValue
focal_class.modifiers: public static
focal_class.parameters: (String encValue)
focal_class.return: String
focal_class.signature: String unwrapEncryptedValue(String encValue)
focal_class.class_method_signature: PropertiesLoader.parseValue(String value)
focal_class.full_signature: public String parseValue(String value)
focal_class.identifier: parseValue
focal_class.modifiers: public
focal_class.parameters: (String value)
focal_class.return: String
focal_class.signature: String parseValue(String value)
focal_class.class_method_signature: PropertiesLoader.splitKeyVal(String line)
focal_class.full_signature: public static String[] splitKeyVal(String line)
focal_class.identifier: splitKeyVal
focal_class.modifiers: public static
focal_class.parameters: (String line)
focal_class.return: String[]
focal_class.signature: String[] splitKeyVal(String line)
focal_class.class_method_signature: PropertiesLoader.isIgnorableLine(String line)
focal_class.full_signature: private boolean isIgnorableLine(String line)
focal_class.identifier: isIgnorableLine
focal_class.modifiers: private
focal_class.parameters: (String line)
focal_class.return: boolean
focal_class.signature: boolean isIgnorableLine(String line)
focal_class.class_method_signature: PropertiesLoader.parseLine(String line)
focal_class.full_signature: private String[] parseLine(String line)
focal_class.identifier: parseLine
focal_class.modifiers: private
focal_class.parameters: (String line)
focal_class.return: String[]
focal_class.signature: String[] parseLine(String line)
focal_method.body: public static String unwrapEncryptedValue(String encValue) {
          if (encValue == null) {
              return null;
          }
  
          String encryptedFormPrefix = "ENC(";
          if (encValue.startsWith(encryptedFormPrefix)) {
              return encValue.substring(encryptedFormPrefix.length(),
                                          encValue.length() - 1);
          } else {
              return null;
          }
      }
focal_method.class_method_signature: PropertiesLoader.unwrapEncryptedValue(String encValue)
focal_method.full_signature: public static String unwrapEncryptedValue(String encValue)
focal_method.identifier: unwrapEncryptedValue
focal_method.invocations: startsWith substring length length
focal_method.modifiers: public static
focal_method.parameters: (String encValue)
focal_method.return: String
focal_method.signature: String unwrapEncryptedValue(String encValue)