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