Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_methodWithoutAnnotation (0.28 seconds)

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

            assertEquals("ROLE_ADMIN", roles[1]);
            assertEquals("ROLE_GUEST", roles[2]);
        }
    
        // Test non-annotated method
        @Test
        public void test_methodWithoutAnnotation() throws NoSuchMethodException {
            Method method = MethodAnnotatedClass.class.getMethod("nonAnnotatedMethod");
            Secured secured = method.getAnnotation(Secured.class);
            assertNull(secured);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
Back to Top