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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user