Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_methodWithoutAnnotation (0.54 sec)

  1. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertEquals("ROLE_USER", roles[0]);
            assertEquals("ROLE_ADMIN", roles[1]);
            assertEquals("ROLE_GUEST", roles[2]);
        }
    
        // Test non-annotated method
        public void test_methodWithoutAnnotation() throws NoSuchMethodException {
            Method method = MethodAnnotatedClass.class.getMethod("nonAnnotatedMethod");
            Secured secured = method.getAnnotation(Secured.class);
            assertNull(secured);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top