sf.openSession();
sfControl.setReturnValue(session, 1);
session.getSessionFactory();
sessionControl.setReturnValue(sf, 1);
session.load(TestBean.class, "id");
ObjectNotFoundException onfex = new ObjectNotFoundException("id", TestBean.class.getName());
sessionControl.setThrowable(onfex);
session.close();
sessionControl.setReturnValue(null, 1);
sfControl.replay();
sessionControl.replay();