@Test public void extractValue_ShouldReturnEmptyString_IfNoValuePresent() throws Exception { String testLine = "%{KEY=}"; assertThat(subject.extractValue(testLine)).isEqualTo(""); }
String extractValue(String t) { Matcher m = FORMAT_PATTERN.matcher(t); m.find(); return m.group(2); }
ProfileParserImpl implements ProfileParser { String extractValue(String t) { Matcher m = FORMAT_PATTERN.matcher(t); m.find(); return m.group(2); } }
ProfileParserImpl implements ProfileParser { String extractValue(String t) { Matcher m = FORMAT_PATTERN.matcher(t); m.find(); return m.group(2); }  }
ProfileParserImpl implements ProfileParser { String extractValue(String t) { Matcher m = FORMAT_PATTERN.matcher(t); m.find(); return m.group(2); }  @Override Optional<Profile> parseFile(Path path); }
ProfileParserImpl implements ProfileParser { String extractValue(String t) { Matcher m = FORMAT_PATTERN.matcher(t); m.find(); return m.group(2); }  @Override Optional<Profile> parseFile(Path path); static final Pattern FORMAT_PATTERN; }