@Test
public void requestMarshallingErrorPostTest() throws ClientProtocolException, IOException, JAXBException,
		Oadr20aException, Oadr20aMarshalException, URISyntaxException, Oadr20aHttpLayerException {

	OadrHttpClient oadrHttpClient = Mockito.mock(OadrHttpClient.class);
	int scOk = HttpStatus.SC_OK;
	OadrResponse mockOadrResponse = Oadr20aBuilders.newOadr20aResponseBuilder("", scOk).build();
	String marshal = jaxbContext.marshal(mockOadrResponse);
	HttpResponse response = this.createHttpResponse(scOk, marshal);
	when(oadrHttpClient.execute(Matchers.<HttpPost>anyObject(), any(), any(), any())).thenReturn(response);
	OadrHttpClient20a client = new OadrHttpClient20a(oadrHttpClient);
	OadrDistributeEvent mockDistributeEvent = this.createOadrDistributeEvent();
	mockDistributeEvent.setVtnID(null);
	boolean exception = false;
	try {
		client.post(mockDistributeEvent, Oadr20aUrlPath.OADR_BASE_PATH + Oadr20aUrlPath.EI_EVENT_SERVICE,
				OadrResponse.class);
	} catch (Oadr20aException e) {
		exception = true;
	}
	assertTrue(exception);
}