@Test public void readParameters_invalidBasekey() { ParameterReader pr = new ParameterReader(); List<String> expectedRaw = new ArrayList<String>(); List<String> paramsRaw = pr.readParameters("invalid.key", true); assertThat(paramsRaw, is(expectedRaw)); List<String> expectedNonRaw = new ArrayList<String>(); List<String> paramsNonRaw = pr.readParameters("invalid.key", false); assertThat(paramsNonRaw, is(expectedNonRaw)); }
public List<String> readParameters(final String baseKey, final boolean otherRaw) { if (otherRaw) { return readParameters(baseKey + RAW_KEY); } else { return readParameters(baseKey + NON_RAW_KEY); } }
ParameterReader { public List<String> readParameters(final String baseKey, final boolean otherRaw) { if (otherRaw) { return readParameters(baseKey + RAW_KEY); } else { return readParameters(baseKey + NON_RAW_KEY); } } }
ParameterReader { public List<String> readParameters(final String baseKey, final boolean otherRaw) { if (otherRaw) { return readParameters(baseKey + RAW_KEY); } else { return readParameters(baseKey + NON_RAW_KEY); } }  }
ParameterReader { public List<String> readParameters(final String baseKey, final boolean otherRaw) { if (otherRaw) { return readParameters(baseKey + RAW_KEY); } else { return readParameters(baseKey + NON_RAW_KEY); } }  List<String> readParameters(final String baseKey, final boolean otherRaw); }
ParameterReader { public List<String> readParameters(final String baseKey, final boolean otherRaw) { if (otherRaw) { return readParameters(baseKey + RAW_KEY); } else { return readParameters(baseKey + NON_RAW_KEY); } }  List<String> readParameters(final String baseKey, final boolean otherRaw);  }