public void setResource(Resource resource) {
        this.resource = resource;
    }
@Test
    void testSetResource() {
        Resource resource = new Resource("", "", "", "", new Properties());
        assertNull(authContext.getResource());
        authContext.setResource(resource);
        assertSame(resource, authContext.getResource());
    }