### Question:
BeanDelegator { public void validate() throws SecurityException, NoSuchMethodException, NoSuchFieldException { for (Map.Entry<Class<?>, Class<?>> entry : delegatedClasses.entrySet()) { if (!entry.getKey().isEnum()) { validate(entry.getKey(), entry.getValue()); } } } BeanDelegator();  BeanDelegator(Map<Class<?>, Class<?>> delegatedClasses,
                       Map<Enum<?>, Enum<?>> enumConvertionMap); static Object nullable(Object o); Object createDelegator(Object source); @SuppressWarnings("unchecked") T createDelegator(Object source, Class<T> apiInterface); @SuppressWarnings("unchecked") T createDelegator(Object source, Class<T> apiInterface,
                               Map<String, Object> extraFields); Enum<?> convertEnum(Enum<?> value); void validate(); void validate(Class<?> dataClass, Class<?> interfaceClass); static Map<Enum<?>, Enum<?>> createDefaultEnumMap(
      Class<? extends Enum<?>> sourceEnum, Class<? extends Enum<?>> targetEnum); static final String NULL; static final ImmutableSet<Class<?>> PRIMITIVE_TYPE_CLASSES; }### Answer:
@Test(expected = NoSuchMethodException.class) public void tesValidate() throws Exception { beanDelegator.validate(); }