test_class.declarator: propertiesFileLoader
test_class.modifier: private
test_class.original_string: private PropertiesFileLoader propertiesFileLoader;
test_class.type: PropertiesFileLoader
test_class.var_name: propertiesFileLoader
test_class.file: plugin-code/src/test/java/com/trivago/cluecumber/properties/PropertiesFileLoaderTest.java
test_class.identifier: PropertiesFileLoaderTest
test_case.body: @Test
      public void loadPropertiesMapTest() throws CluecumberPluginException {
          final LinkedHashMap<String, String> propertiesMap = propertiesFileLoader.loadPropertiesMap("src/test/resources/test.properties");
          assertThat(propertiesMap.size(), is(2));
      }
test_case.class_method_signature: PropertiesFileLoaderTest.loadPropertiesMapTest()
test_case.full_signature: @Test public void loadPropertiesMapTest()
test_case.identifier: loadPropertiesMapTest
test_case.invocations: loadPropertiesMap assertThat size is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void loadPropertiesMapTest()
focal_class.declarator: fileIO
focal_class.modifier: private final
focal_class.original_string: private final FileIO fileIO;
focal_class.type: FileIO
focal_class.var_name: fileIO
focal_class.file: plugin-code/src/main/java/com/trivago/cluecumber/properties/PropertiesFileLoader.java
focal_class.identifier: PropertiesFileLoader
focal_class.class_method_signature: PropertiesFileLoader.PropertiesFileLoader(final FileIO fileIO)
focal_class.full_signature: @Inject public  PropertiesFileLoader(final FileIO fileIO)
focal_class.identifier: PropertiesFileLoader
focal_class.modifiers: @Inject public
focal_class.parameters: (final FileIO fileIO)
focal_class.signature:  PropertiesFileLoader(final FileIO fileIO)
focal_class.class_method_signature: PropertiesFileLoader.loadPropertiesMap(final String propertiesFilePath)
focal_class.full_signature:  LinkedHashMap<String, String> loadPropertiesMap(final String propertiesFilePath)
focal_class.identifier: loadPropertiesMap
focal_class.parameters: (final String propertiesFilePath)
focal_class.return: LinkedHashMap<String, String>
focal_class.signature: LinkedHashMap<String, String> loadPropertiesMap(final String propertiesFilePath)
focal_method.body: LinkedHashMap<String, String> loadPropertiesMap(final String propertiesFilePath) throws CluecumberPluginException {
          LinkedHashMap<String, String> propertiesMap;
          String content = fileIO.readContentFromFile(propertiesFilePath);
          LinkedProperties properties = new LinkedProperties();
          try {
              properties.load(new StringReader(content));
          } catch (IOException e) {
              throw new CluecumberPluginException("Could not parse properties file '" + "': " + e.getMessage());
          }
          propertiesMap = properties.entrySet().stream().collect(Collectors.toMap(propertyEntry -> (String) propertyEntry.getKey(), propertyEntry -> (String) propertyEntry.getValue(), (a, b) -> b, LinkedHashMap::new));
          return propertiesMap;
      }
focal_method.class_method_signature: PropertiesFileLoader.loadPropertiesMap(final String propertiesFilePath)
focal_method.full_signature:  LinkedHashMap<String, String> loadPropertiesMap(final String propertiesFilePath)
focal_method.identifier: loadPropertiesMap
focal_method.invocations: readContentFromFile load getMessage collect stream entrySet toMap getKey getValue
focal_method.parameters: (final String propertiesFilePath)
focal_method.return: LinkedHashMap<String, String>
focal_method.signature: LinkedHashMap<String, String> loadPropertiesMap(final String propertiesFilePath)