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

	OadrHttpClient oadrHttpClient = Mockito.mock(OadrHttpClient.class);
	int scOk = HttpStatus.SC_OK;
	OadrResponseType mockOadrResponseType = Oadr20bResponseBuilders.newOadr20bResponseBuilder("", scOk, "venId")
			.build();
	String marshal = jaxbContext.marshalRoot(mockOadrResponseType);
	HttpResponse response = this.createHttpResponse(scOk, marshal);
	when(oadrHttpClient.execute(Matchers.<HttpPost>anyObject(), any(), any(), any())).thenReturn(response);
	String keyFile = CERT_FOLDER_PATH + "test.key";
	String certFile = CERT_FOLDER_PATH + "test.crt";
	OadrHttpClient20b client = new OadrHttpClient20b(oadrHttpClient, keyFile, certFile, 1200L);
	OadrDistributeEventType mockDistributeEvent = this.createOadrDistributeEvent();
	mockDistributeEvent.setVtnID("vtnId");
	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);
}