Wednesday, February 24, 2010

Testing Code

 public void testAfterPropertiesSetNoContextPath() throws Exception {         try {             JibxMarshaller marshaller = new JibxMarshaller();             marshaller.afterPropertiesSet();             fail("Should have thrown an IllegalArgumentException");         }         catch (IllegalArgumentException e) {         }     }

 

Posted via web from Iterated Radical

No comments:

Post a Comment