@Test
 public void testWithNamespace() throws Exception {
   factoryBean.setNamespace("myNamespace");
   factoryBean.afterPropertiesSet();
   SearchService searchService = factoryBean.getObject();
   assertEquals("myNamespace", searchService.getNamespace());
 }
 @Test
 public void testIsPrototype() {
   assertFalse(factoryBean.isSingleton());
 }
 @Test
 public void testTypeIsSearchService() {
   assertTrue(factoryBean.getObjectType().isAssignableFrom(SearchService.class));
 }