@Test
public void testFunctionSubstringBefore() {

    assertThat(UNDER_TEST.resolve("fn:substring-before(\"-\")", PipelineElement.resolved(THING_NAME),
            EXPRESSION_RESOLVER))
            .contains("test");
}