### Question:
LineReader { @SuppressLint("NewApi") public static String getLineSeparator() { if (ApiWrap.hasKitKat()) return System.lineSeparator(); else return System.getProperty("line.separator", "\n"); } LineReader();  LineReader(String lineSeparator); @SuppressLint("NewApi") static String getLineSeparator(); String readLine(Reader reader);  }### Answer:
@Test public void testGetLineSeperator() { assertThat(LineReader.getLineSeparator(), is(notNullValue())); ApiWrap.setSDKInt(26); assertThat(LineReader.getLineSeparator(), is(System.lineSeparator())); ApiWrap.setSDKInt(16); assertThat(LineReader.getLineSeparator(), is(System.getProperty("line.separator", "\n"))); }