### Question:
SqlScript { @NotNull public List<? extends SqlStatement> getStatements() { return Collections.unmodifiableList(Arrays.asList(myStatements)); } SqlScript(@NotNull final String... statements);  SqlScript(@NotNull final SqlStatement... statements);  SqlScript(@NotNull final SqlScript... scripts);  SqlScript(@NotNull final Collection<? extends SqlStatement> statements); private  SqlScript(@NotNull final SqlStatement[] statements, boolean copy); @NotNull List<? extends SqlStatement> getStatements(); boolean hasStatements(); int count(); @Override @NotNull String toString();  }### Answer:
@Test public void construct_2() { SqlScript script1 = new SqlScript("command1"), script2 = new SqlScript("command2"); SqlScript script = new SqlScript(script1, script2); assertThat((Integer)script.getStatements().size()).isEqualTo((Integer)2); assertThat(script.getStatements().get(0).getSourceText()).isEqualTo("command1"); assertThat(script.getStatements().get(1).getSourceText()).isEqualTo("command2"); }