[jboss-user] [JBoss Seam] - Re: How to invoking methods with parameters with Seam test?

pete.muir@jboss.org do-not-reply at jboss.com
Tue Nov 20 11:33:59 EST 2007


@Test
  | public void testCreate() throws Exception {
  |    new ComponentTest() {
  |       @Override
  |       protected void testComponents() throws Exception {
  |          Employee employee = new Employee();
  |          employee.setFirstName("abcdefghijklmnop");
  |          employee.setLastName("burns");
  |          ( (DBI) getInstance("dbi") ).create(employee);
  |       }
  | 
  |    }.run();
  | }

Not a problem with Seam ;)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106462#4106462

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106462



More information about the jboss-user mailing list