BeanManager bm = getLifecycle().getBeanManager();
Set<Bean<?>> beans = getLifecycle().getBeanManager().getBeans(PersonalDataBean.class);
Assert.assertNotNull(beans);
Assert.assertTrue(beans.size() == 1);
Bean pdbBean = beans.iterator().next();
CreationalContext<PersonalDataBean> pdbCreational = bm.createCreationalContext(pdbBean);
Assert.assertNotNull(pdbCreational);
// oki, now let's serializeBean the CreationalContext
byte[] serial = serializeCreationalContext(pdbCreational);
CreationalContext<?> cc2 = deSerializeCreationalContext(serial);