use of net.sf.jsqlparser.statement.SetStatement in project JSqlParser by JSQLParser.
the class StatementDeParserTest method shouldUseProvidedDeParserWhenDeParsingSetStatement.
@Test
@SuppressWarnings("PMD.JUnitTestsShouldIncludeAssert")
public void shouldUseProvidedDeParserWhenDeParsingSetStatement() {
String name = "name";
Expression expression = mock(Expression.class);
SetStatement setStatement = new SetStatement(name, expression);
statementDeParser.visit(setStatement);
then(expression).should().accept(expressionDeParser);
}
Aggregations