@Test
public void xmlDurationToMillisecondTest() {

	Long duration = null;
	duration = Oadr20bFactory.xmlDurationToMillisecond("PT1S");
	assertNotNull(duration);
	assertEquals(new Long(1000), duration);
	boolean ex = false;
	try {
		duration = Oadr20bFactory.xmlDurationToMillisecond("mouaiccool");
	} catch (Exception e) {
		ex = true;
	}
	assertTrue(ex);
}