assertThat(value.selectorName(), is(selectorName("mode:tableA")));
}
@Test
public void shouldParseReferenceValueFromStringWithQuotedSelectorNameAndQuotedPropertyName() {
ReferenceValue value = parser.parseReferenceValue(tokens("[mode:tableA].[mode:property]"), typeSystem, mock(Join.class));
assertThat(value.getPropertyName(), is("mode:property"));
assertThat(value.selectorName(), is(selectorName("mode:tableA")));
Source source = new NamedSelector(selectorName("mode:tableA"));
value = parser.parseReferenceValue(tokens("[mode:tableA].[mode:property]"), typeSystem, source);
assertThat(value.getPropertyName(), is("mode:property"));
assertThat(value.selectorName(), is(selectorName("mode:tableA")));
}