@Test
public void shouldCreateFilterWithSchemaWhitelistAndNoTableFilter() {

    filter = Selectors.tableSelector()
            .includeSchemas("sc1,sc2")
            .build();
    assertAllowed(filter, "db1", "sc1", "A");
    assertAllowed(filter, "db2", "sc2", "A");
    assertNotAllowed(filter, "db1", "sc3", "A");
    assertNotAllowed(filter, "db2", "sc4", "A");
}