@Test
public void testGetElementLocatorForElementReference_withApendix() throws Exception {

    SenBotReferenceService referenceService = SenBotContext.getSenBotContext().getReferenceService();
    String result = referenceService.getElementLocatorForElementReference("Ref by ID", "//apendix").toString();
    assertEquals("By.xpath: //*[@id='idRef']//apendix", result);
    result = referenceService.getElementLocatorForElementReference("Ref by XPath", "//apendix").toString();
    assertEquals("By.xpath: //*XPathRef//apendix", result);
}