Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFoo_InvokeStatic (0.19 sec)

  1. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.invoke(new MyBean()), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = MethodNotStaticRuntimeException.class)
        public void testFoo_InvokeStatic() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo.getParameterTypes().length, is(0));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top