[jboss-user] [JBoss Seam] - how to set parameters in user integration tests
berkay
do-not-reply at jboss.com
Mon Jan 14 04:16:26 EST 2008
hi..
i ve a little question about user integration test w testNG.
| new FacesRequest() {
| protected void invokeApplication() {
| Session hibernateSession = (Session) Component.getInstance("hibernateSession");
| Parent parent = (Category)(hibernateSession.get(Category.class, 1L));
| assert parent!=null;
| setValue("#{parentCategory}",parent); // ??????
| assert invokeMethod("#{categoryAction.remove(parent)}").equals("categoryMain");
| }
| }.run();
How can i set parent instance for to remove at categoryAction ?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119538#4119538
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119538
More information about the jboss-user
mailing list