### Question:
SQLFileReader { public static Collection<String> readSQLs() { Optional<BufferedReader> lineReader = getLineReader(); return lineReader.isPresent() ? readSQLsFromFile(lineReader.get()) : Lists.<String>newArrayList(); }  static Collection<String> readSQLs();  }### Answer:
@Test public void readSQLs() { Collection<String> sqls = SQLFileReader.readSQLs(); assertThat(sqls.size(), is(4)); Iterator<String> sqlIterator = sqls.iterator(); assertThat(sqlIterator.next(), is(SNAPSHOT_CREATE_TABLE_SQL)); assertThat(sqlIterator.next(), is(SNAPSHOT_CREATE_INDEX_SQL)); assertThat(sqlIterator.next(), is(EVENT_CREATE_TABLE_SQL)); assertThat(sqlIterator.next(), is(EVENT_CREATE_INDEX_SQL)); }