@Test
public void millisecondToXmlDurationTest() {

	String duration = null;
	duration = Oadr20bFactory.millisecondToXmlDuration(0L);
	assertNotNull(duration);
	assertEquals("PT0S", duration);
	duration = Oadr20bFactory.millisecondToXmlDuration(1000L);
	assertNotNull(duration);
	assertEquals("PT1S", duration);
	Long dur = 25 * 60 * 60 * 1000L + 60 * 1000L + 1000L;
	duration = Oadr20bFactory.millisecondToXmlDuration(dur);
	assertNotNull(duration);
	assertEquals("P1DT1H1M1S", duration);
	boolean ex = false;
	try {
		duration = Oadr20bFactory.millisecondToXmlDuration(null);
	} catch (Exception e) {
		ex = true;
	}
	assertTrue(ex);
}