/** * Validate all proxied classes to see that all required functions are implemented. * Throws exception if failed validation. * Note that it ignore the extra fields support. * @throws SecurityException * @throws NoSuchMethodException * @throws NoSuchFieldException */ public void validate() throws SecurityException, NoSuchMethodException, NoSuchFieldException { for (Map.Entry<Class<?>, Class<?>> entry : delegatedClasses.entrySet()) { if (!entry.getKey().isEnum()) { validate(entry.getKey(), entry.getValue()); } } }
/** * Validate all proxied classes to see that all required functions are implemented. * Throws exception if failed validation. * Note that it ignore the extra fields support. * @throws SecurityException * @throws NoSuchMethodException * @throws NoSuchFieldException */ public void validate() throws SecurityException, NoSuchMethodException, NoSuchFieldException { for (Map.Entry<Class<?>, Class<?>> entry : delegatedClasses.entrySet()) { if (!entry.getKey().isEnum()) { validate(entry.getKey(), entry.getValue()); } } }
/** * Validate all proxied classes to see that all required functions are implemented. * Throws exception if failed validation. * Note that it ignore the extra fields support. * @throws SecurityException * @throws NoSuchMethodException * @throws NoSuchFieldException */ public void validate() throws SecurityException, NoSuchMethodException, NoSuchFieldException { for (Map.Entry<Class<?>, Class<?>> entry : delegatedClasses.entrySet()) { if (!entry.getKey().isEnum()) { validate(entry.getKey(), entry.getValue()); } } }
/** * Validate all proxied classes to see that all required functions are implemented. * Throws exception if failed validation. * Note that it ignore the extra fields support. * @throws SecurityException * @throws NoSuchMethodException * @throws NoSuchFieldException */ public void validate() throws SecurityException, NoSuchMethodException, NoSuchFieldException { for (Map.Entry<Class<?>, Class<?>> entry : delegatedClasses.entrySet()) { if (!entry.getKey().isEnum()) { validate(entry.getKey(), entry.getValue()); } } }
/** * Validate all proxied classes to see that all required functions are implemented. * Throws exception if failed validation. * Note that it ignore the extra fields support. * @throws SecurityException * @throws NoSuchMethodException * @throws NoSuchFieldException */ public void validate() throws SecurityException, NoSuchMethodException, NoSuchFieldException { for (Map.Entry<Class<?>, Class<?>> entry : delegatedClasses.entrySet()) { if (!entry.getKey().isEnum()) { validate(entry.getKey(), entry.getValue()); } } }
@Test(expected = NoSuchMethodException.class) public void tesValidate() throws Exception { beanDelegator.validate(); } }
@Test(expected = NoSuchMethodException.class) public void tesValidate() throws Exception { beanDelegator.validate(); } }
@Test public void testHandlerDataDelegation() throws Exception { delegator.validate(); }
@Test public void testHandlerDataDelegation() throws Exception { delegator.validate(); }
@Test(expected = NoSuchMethodException.class) public void tesValidate() throws Exception { beanDelegator.validate(); }
@Test(expected = NoSuchMethodException.class) public void tesValidate() throws Exception { beanDelegator.validate(); }
@Test public void testHandlerDataDelegation() throws Exception { delegator.validate(); }
@Test(expected = NoSuchMethodException.class) public void tesValidate() throws Exception { beanDelegator.validate(); }