}
private void checkSimpleTypeBean(BeanInfoFactory pFactory) {
JavaQName primitiveSimpleTypeBeanType = JavaQNameImpl.getInstance("foo.bar.PrimitiveSimpleTypeBean");
JavaQName simpleTypeBeanType = JavaQNameImpl.getInstance("foo.bar.PrimitiveSimpleTypeBean.SimpleTypeBean");
BeanInfo bi = pFactory.getBeanInfo(simpleTypeBeanType);
assertEquals("simpleTypeBean", bi.getElementName());
assertEquals(primitiveSimpleTypeBeanType, bi.getSuperType());
assertNull(bi.getTargetNamespace());
assertEquals(asKey(simpleTypeBeanType), asKey(bi.getType()));
BeanProperty[] props = bi.getBeanProperties();
assertEquals(11, props.length);
}