@ParameterizedTest
    @ValueSource(strings = {"server.port", "server", "port", "server.", ".port"})
    void verifyByName(final String query) throws Exception {
        var result = luceneSearchService.first("name", query);
        assertEquals(1, result.getLong("id").orElseThrow());
    }
This is {@link LuceneSearchServiceTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-lucene/src/test/java/org/apereo/cas/lucene/LuceneSearchServiceTests.java