@Test
    void verifyPermissionAssignments() {
        val facade = new DefaultGrouperFacade();
        var body = "{ \"" + WsGetPermissionAssignmentsResults.class.getSimpleName() + "\": {}}";
        try (val webServer = new MockWebServer(8080,
            body, Map.of("X-Grouper-success", "T", "X-Grouper-resultCode", "200"), HttpStatus.OK)) {
            webServer.start();
            val assignments = facade.getPermissionAssignments(GrouperPermissionAssignmentsQuery.builder()
                .subjectId("casuser")
                .build());
            assertNotNull(assignments);
            assertNull(assignments.getWsPermissionAssigns());
        }
    }
This is {@link GrouperFacadeTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-grouper-core/src/test/java/org/apereo/cas/grouper/GrouperFacadeTests.java