@Test
	public void simpleDecode() throws JAXBException {
		// Unmarshall 
		File file = new File("xml/response_example.xml");
		JAXBContext jaxbContext = JAXBContext.newInstance(MaritimeInformationResponse.class);
		Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
		MaritimeInformationResponse response = (MaritimeInformationResponse) jaxbUnmarshaller.unmarshal(file);
		
		Assert.assertEquals(sentDate.getTime(), response.getSendDate().getTime());
		
		Assert.assertEquals(response.getBundle().getMessages().size(), 2);
		
		MaritimeInformationBundle bundle = response.getBundle();
		for (MaritimeInformationMessage message : bundle.getMessages()) {
			if (message instanceof MsiMessage) {
				Assert.assertTrue(((MsiMessage)message).getUid().equals("SOME_MSI"));
			}
			if (message instanceof NoticeMessage) {
				Assert.assertTrue(((NoticeMessage)message).getUid().equals("SOME_NOTICE"));
			}
		}

	}