SqlOperation implements Operation { public static SqlOperation of(@Nonnull String sqlStatement) { return new SqlOperation(sqlStatement); } private  SqlOperation(String sql); @Override void execute(Connection connection, BinderConfiguration configuration); static SqlOperation of(@Nonnull String sqlStatement); static Operation of(@Nonnull String... sqlStatements); static Operation of(@Nonnull List<String> sqlStatements); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object o);  }
@Test public void ofWorks() throws SQLException { testOf(SqlOperation.of("A", "B")); testOf(SqlOperation.of(Arrays.asList("A", "B"))); testOf(Operations.sql("A", "B")); testOf(Operations.sql(Arrays.asList("A", "B"))); }