assertThat(value.getPropertyName(), is("property"));
}
@Test
public void shouldParseDynamicOperandFromStringContainingReferenceValueWithWithSelectorNameAndPropertyNameIfThereIsOneSelectorAsSource() {
Source source = new NamedSelector(selectorName("tableA"));
DynamicOperand operand = parser.parseDynamicOperand(tokens("REFERENCE(tableA.property) other"), typeSystem, source);
assertThat(operand, is(instanceOf(ReferenceValue.class)));
ReferenceValue value = (ReferenceValue)operand;
assertThat(value.selectorName(), is(selectorName("tableA")));
assertThat(value.getPropertyName(), is("property"));