@Test
public void testRenamingRule() {

    DomainObjectRenamingRule renamingRule = new DomainObjectRenamingRule();
    renamingRule.setSearchString("^Sys");
    renamingRule.setReplaceString("");
    FullyQualifiedTable fqt = new FullyQualifiedTable(null, "myschema", "sys_mytable", null, null, false, null, null, null, false, renamingRule, null);
    assertThat(fqt.getDomainObjectName()).isEqualTo("Mytable");
}