@Override
    public Collection<LocalDataQueryResultRow> getRows(final ShowAuthorityRuleStatement sqlStatement, final ContextManager contextManager) {
        String users = rule.getConfiguration().getUsers().stream().map(each -> each.getGrantee().toString()).collect(Collectors.joining("; "));
        String provider = rule.getConfiguration().getPrivilegeProvider().getType();
        Properties props = rule.getConfiguration().getPrivilegeProvider().getProps().isEmpty() ? new Properties() : rule.getConfiguration().getPrivilegeProvider().getProps();
        return Collections.singleton(new LocalDataQueryResultRow(users, provider, props));
    }
@Test
    void assertGetRows() throws SQLException {
        engine.executeQuery();
        Collection<LocalDataQueryResultRow> actual = engine.getRows();
        assertThat(actual.size(), is(1));
        Iterator<LocalDataQueryResultRow> iterator = actual.iterator();
        LocalDataQueryResultRow row = iterator.next();
        assertThat(row.getCell(1), is("root@localhost"));
        assertThat(row.getCell(2), is("ALL_PERMITTED"));
        assertThat(row.getCell(3), is(""));
    }