@Test
public void shouldParseOrderingFromDynamicOperandAndDefaultToAscendingWhenNotFollowedByAscendingOrDescendingKeyword() {
Ordering ordering = parser.parseOrdering(tokens("NAME(tableA) OTHER"), typeSystem, mock(Source.class));
assertThat(ordering.getOperand(), is(instanceOf(NodeName.class)));
assertThat(ordering.order(), is(Order.ASCENDING));
}
// ----------------------------------------------------------------------------------------------------------------
// parsePropertyExistance
// ----------------------------------------------------------------------------------------------------------------