### Question:
SpringPageFactoryBeanDefinitionParser extends AbstractSpringBeanDefinitionParser { @Override public Class<?> getBeanClass(Element element) { return PageFactoryDecorator.class; }  @Override Class<?> getBeanClass(Element element);  }### Answer:
@Test public void testRequestBeanType_shouldReturnDefaultContentSourceFactory() throws Exception { SpringPageFactoryBeanDefinitionParser parserToTest = new SpringPageFactoryBeanDefinitionParser(); Class<?> beanClass = parserToTest.getBeanClass(null); assertThat(beanClass, typeCompatibleWith(PageFactoryDecorator.class)); }