@Test
public void addXMLDurationToTimestampTest() {

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