@Test
public void testCompareTable_withNameSpacing() throws Throwable {

    seleniumNavigationService.navigate_to_url(MockReferenceDatePopulator.TABLE_NAMESPACE_TEST_PAGE_URL);
    String unNamespacenizedString = SenBotReferenceService.NAME_SPACE_PREFIX + "Table cell 3";
    String namespacenizedString = SenBotContext.getSenBotContext().getReferenceService().namespaceString(unNamespacenizedString);
    List<List<String>> expectedRows = new ArrayList<List<String>>();
    final List<String> header = Arrays.asList(new String[]{"Table header 1", "Table header 2"});
    final List<String> row1 = Arrays.asList(new String[]{"Table cell 1", "Table cell 2"});
    final List<String> row2 = Arrays.asList(new String[]{unNamespacenizedString, "Table cell 4"});
    final List<String> row3 = Arrays.asList(new String[]{"Table cell 5", "Table cell 6"});
    expectedRows = new ArrayList<List<String>>() {
        {
            add(header);
            add(row1);
            add(row2);
            add(row3);
        }
    };
    DataTable expectedContent = mock(DataTable.class);
    when(expectedContent.raw()).thenReturn(expectedRows);
    ExpectedTableDefinition expectedTableDefinition = new ExpectedTableDefinition(expectedContent);
    expectedTableDefinition.setMatchOnlyPassedInColumns(true);
    WebDriver driver = SenBotContext.getSeleniumDriver();
    WebElement inputField = driver.findElement(By.id("textField"));
    inputField.sendKeys(namespacenizedString);
    seleniumElementService.findExpectedElement(By.xpath(".//*[@id='button']")).click();
    WebElement table = driver.findElement(By.id("exampleTable"));
    seleniumTableService.compareTable(expectedTableDefinition, table);
    this.toString();
}