@BeforeClass
public static void setUpClass() {
Session session = SessionManager.getInstance().createSession("default");
RDFDescriptorFactory df = new RDFDescriptorFactory(session);
session.getMetaContext().addDescriptor(df.createResource(Person.class));
factory = new BeanFactory(session);
}
@Test
public void convertingResourceToBean() throws Exception {