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

	// HTTP layer error
	OadrHttpClient oadrHttpClient = Mockito.mock(OadrHttpClient.class);
	OadrResponseType mockOadrResponseType = Oadr20bResponseBuilders
			.newOadr20bResponseBuilder("", HttpStatus.SC_FORBIDDEN, "venId").build();
	String marshal = jaxbContext.marshalRoot(mockOadrResponseType);
	HttpResponse response = this.createHttpResponse(HttpStatus.SC_OK, marshal);
	when(oadrHttpClient.execute(Matchers.<HttpPost>anyObject(), any(), any(), any())).thenReturn(response);
	OadrHttpClient20b client = new OadrHttpClient20b(oadrHttpClient);
	OadrDistributeEventType mockDistributeEvent = this.createOadrDistributeEvent();
	client.post(Oadr20bFactory.createOadrDistributeEvent(mockDistributeEvent),
			Oadr20bUrlPath.OADR_BASE_PATH + Oadr20bUrlPath.EI_EVENT_SERVICE, OadrResponseType.class);
}