ParsingUtils { public static int getMinWhitespace(final List<String> lines) { int minWhitespace = 0; for (String line : lines) { int lineLeadingWhitespace = getLeadingWhitespace(line); if (lineLeadingWhitespace < minWhitespace || minWhitespace == 0) { minWhitespace = lineLeadingWhitespace; } } return minWhitespace; }  static boolean fileMatchesExtension(final File file,
            final String targetExtension); static String formatSampleText(final List<String> lines,
            final int maxTrim); static int getMinWhitespace(final List<String> lines); static int getLeadingWhitespace(final String str); static String trimLeadingWhitespace(final String str, final int max); static String assertFieldHasContent(final String field,
            final String value); static boolean checkAndLogIfNoContent(String sampleId, String field, String value);  }
@Test public void getMinWhitespace() { List<String> lines = new ArrayList<String>(); lines.add(" FOO"); lines.add(" BAR"); lines.add(" BAZ"); assertEquals(ParsingUtils.getMinWhitespace(lines), 1); }