@Test
public void givenUnmarshallingResponse_RaiseException() throws ClientProtocolException, IOException, JAXBException,
		Oadr20bException, Oadr20bMarshalException, URISyntaxException, Oadr20bHttpLayerException,
		Oadr20bXMLSignatureException, Oadr20bXMLSignatureValidationException, OadrSecurityException {

	OadrHttpClient oadrHttpClient = Mockito.mock(OadrHttpClient.class);
	int scOk = HttpStatus.SC_OK;
	String marshal = "";
	HttpResponse response = this.createHttpResponse(scOk, marshal);
	when(oadrHttpClient.execute(Matchers.<HttpPost>anyObject(), any(), any(), any())).thenReturn(response);
	OadrHttpClient20b client = new OadrHttpClient20b(oadrHttpClient);
	OadrDistributeEventType mockDistributeEvent = this.createOadrDistributeEvent();
	boolean exception = false;
	try {
		client.post(Oadr20bFactory.createOadrDistributeEvent(mockDistributeEvent),
				Oadr20bUrlPath.OADR_BASE_PATH + Oadr20bUrlPath.EI_EVENT_SERVICE, OadrResponseType.class);
	} catch (Oadr20bException e) {
		exception = true;
	}
	assertTrue(exception);
}