@Test
public void shouldSplitStatementsOnASemicolonAtTheEndOfALine() throws Exception {

    List<String> result = splitter.split("SELECT 1;\nSELECT 2;");
    assertThat(result, hasItems("SELECT 1", "SELECT 2"));
    assertThat(result.size(), is(2));
}