@Test
public void shouldCreateFilterWithNoDatabaseFilterAndTableWhitelist() {

    filter = Selectors.tableSelector()
            .includeTables("db1\\.A,db1\\.B,db2\\.C")
            .build();
    assertAllowed(filter, "db1", "A");
    assertAllowed(filter, "db1", "B");
    assertNotAllowed(filter, "db1", "D");
    assertNotAllowed(filter, "db1", "E");
    assertNotAllowed(filter, "db1", "F");
    assertAllowed(filter, "db2", "C");
    assertNotAllowed(filter, "db2", "G");
    assertNotAllowed(filter, "db2", "H");
    assertNotAllowed(filter, "db3", "A");
    assertNotAllowed(filter, "db4", "A");
}