Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertThrows (0.24 sec)

  1. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            req.addHeader("Authorization", token);
            assertThrows(InvalidAccessTokenException.class, () -> accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_bad2() {
            final String token = "Bearer";
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", token);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top