adapt nextVal() test to the recently modified NEXTVAL operator pattern
@@ -106,7 +106,7 @@ public class SQLServer2012TemplatesTest extends AbstractSQLTemplatesTest {
@Test
public void nextVal() {
Operation<String> nextval = ExpressionUtils.operation(String.class, SQLOps.NEXTVAL, ConstantImpl.create("myseq"));
- assertEquals("myseq.nextval", new SQLSerializer(new Configuration(new SQLServerTemplates())).handle(nextval).toString());
+ assertSerialized(nextval, "next value for myseq");
}
}
