test_class.declarator: CERT_FOLDER_PATH = "src/test/resources/cert/"
test_class.modifier: public static final
test_class.original_string: public static final String CERT_FOLDER_PATH = "src/test/resources/cert/";
test_class.type: String
test_class.var_name: CERT_FOLDER_PATH
test_class.declarator: XSD_OADR20B_SCHEMA = "src/test/resources/oadr20b_schema"
test_class.modifier: public static final
test_class.original_string: public static final String XSD_OADR20B_SCHEMA = "src/test/resources/oadr20b_schema";
test_class.type: String
test_class.var_name: XSD_OADR20B_SCHEMA
test_class.declarator: jaxbContext
test_class.modifier: private
test_class.original_string: private Oadr20bJAXBContext jaxbContext;
test_class.type: Oadr20bJAXBContext
test_class.var_name: jaxbContext
test_class.file: OpenADRHTTPClient20b/src/test/java/com/avob/openadr/client/http/oadr20b/OadrHttpClient20bTest.java
test_class.identifier: OadrHttpClient20bTest
test_case.body: @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);
  
  	}
test_case.class_method_signature: OadrHttpClient20bTest.givenApplicationError_DoNotRaiseException()
test_case.full_signature: @Test public void givenApplicationError_DoNotRaiseException()
test_case.identifier: givenApplicationError_DoNotRaiseException
test_case.invocations: mock build newOadr20bResponseBuilder marshalRoot createHttpResponse thenReturn when execute anyObject any any any createOadrDistributeEvent post createOadrDistributeEvent
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void givenApplicationError_DoNotRaiseException()
focal_class.declarator: client
focal_class.modifier: private
focal_class.original_string: private OadrHttpClient client;
focal_class.type: OadrHttpClient
focal_class.var_name: client
focal_class.declarator: replayProtectAcceptedDelaySecond
focal_class.modifier: private
focal_class.original_string: private Long replayProtectAcceptedDelaySecond;
focal_class.type: Long
focal_class.var_name: replayProtectAcceptedDelaySecond
focal_class.declarator: privateKey
focal_class.modifier: private
focal_class.original_string: private PrivateKey privateKey;
focal_class.type: PrivateKey
focal_class.var_name: privateKey
focal_class.declarator: clientCertificate
focal_class.modifier: private
focal_class.original_string: private X509Certificate clientCertificate;
focal_class.type: X509Certificate
focal_class.var_name: clientCertificate
focal_class.declarator: jaxbContext
focal_class.modifier: private
focal_class.original_string: private Oadr20bJAXBContext jaxbContext;
focal_class.type: Oadr20bJAXBContext
focal_class.var_name: jaxbContext
focal_class.declarator: validateXmlPayload = false
focal_class.modifier: private
focal_class.original_string: private boolean validateXmlPayload = false;
focal_class.type: boolean
focal_class.var_name: validateXmlPayload
focal_class.file: OpenADRHTTPClient20b/src/main/java/com/avob/openadr/client/http/oadr20b/OadrHttpClient20b.java
focal_class.identifier: OadrHttpClient20b
focal_class.class_method_signature: OadrHttpClient20b.OadrHttpClient20b(OadrHttpClient client)
focal_class.full_signature: public  OadrHttpClient20b(OadrHttpClient client)
focal_class.identifier: OadrHttpClient20b
focal_class.modifiers: public
focal_class.parameters: (OadrHttpClient client)
focal_class.signature:  OadrHttpClient20b(OadrHttpClient client)
focal_class.class_method_signature: OadrHttpClient20b.OadrHttpClient20b(OadrHttpClient client, String privateKeyPath, String clientCertificatePath,
  			Long replayProtectAcceptedDelaySecond)
focal_class.full_signature: public  OadrHttpClient20b(OadrHttpClient client, String privateKeyPath, String clientCertificatePath,
  			Long replayProtectAcceptedDelaySecond)
focal_class.identifier: OadrHttpClient20b
focal_class.modifiers: public
focal_class.parameters: (OadrHttpClient client, String privateKeyPath, String clientCertificatePath,
  			Long replayProtectAcceptedDelaySecond)
focal_class.signature:  OadrHttpClient20b(OadrHttpClient client, String privateKeyPath, String clientCertificatePath,
  			Long replayProtectAcceptedDelaySecond)
focal_class.class_method_signature: OadrHttpClient20b.OadrHttpClient20b(OadrHttpClient client, String privateKeyPath, String clientCertificatePath,
  			Long replayProtectAcceptedDelaySecond, Boolean validateXmlPayload)
focal_class.full_signature: public  OadrHttpClient20b(OadrHttpClient client, String privateKeyPath, String clientCertificatePath,
  			Long replayProtectAcceptedDelaySecond, Boolean validateXmlPayload)
focal_class.identifier: OadrHttpClient20b
focal_class.modifiers: public
focal_class.parameters: (OadrHttpClient client, String privateKeyPath, String clientCertificatePath,
  			Long replayProtectAcceptedDelaySecond, Boolean validateXmlPayload)
focal_class.signature:  OadrHttpClient20b(OadrHttpClient client, String privateKeyPath, String clientCertificatePath,
  			Long replayProtectAcceptedDelaySecond, Boolean validateXmlPayload)
focal_class.class_method_signature: OadrHttpClient20b.isXmlSignatureEnabled()
focal_class.full_signature: private boolean isXmlSignatureEnabled()
focal_class.identifier: isXmlSignatureEnabled
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isXmlSignatureEnabled()
focal_class.class_method_signature: OadrHttpClient20b.post(I payload, String path, Class<T> responseKlass)
focal_class.full_signature: public T post(I payload, String path, Class<T> responseKlass)
focal_class.identifier: post
focal_class.modifiers: public
focal_class.parameters: (I payload, String path, Class<T> responseKlass)
focal_class.return: T
focal_class.signature: T post(I payload, String path, Class<T> responseKlass)
focal_class.class_method_signature: OadrHttpClient20b.post(String host, String path, HttpClientContext context, I payload,
  			Class<O> responseKlass)
focal_class.full_signature: public O post(String host, String path, HttpClientContext context, I payload,
  			Class<O> responseKlass)
focal_class.identifier: post
focal_class.modifiers: public
focal_class.parameters: (String host, String path, HttpClientContext context, I payload,
  			Class<O> responseKlass)
focal_class.return: O
focal_class.signature: O post(String host, String path, HttpClientContext context, I payload,
  			Class<O> responseKlass)
focal_class.class_method_signature: OadrHttpClient20b.sign(Object object)
focal_class.full_signature: private String sign(Object object)
focal_class.identifier: sign
focal_class.modifiers: private
focal_class.parameters: (Object object)
focal_class.return: String
focal_class.signature: String sign(Object object)
focal_class.class_method_signature: OadrHttpClient20b.validate(String raw, OadrPayload payload)
focal_class.full_signature: private void validate(String raw, OadrPayload payload)
focal_class.identifier: validate
focal_class.modifiers: private
focal_class.parameters: (String raw, OadrPayload payload)
focal_class.return: void
focal_class.signature: void validate(String raw, OadrPayload payload)
focal_method.body: public <T, I extends JAXBElement<?>> T post(I payload, String path, Class<T> responseKlass) throws Oadr20bException,
  			Oadr20bHttpLayerException, Oadr20bXMLSignatureException, Oadr20bXMLSignatureValidationException {
  		return this.post(null, path, null, payload, responseKlass);
  	}
focal_method.class_method_signature: OadrHttpClient20b.post(I payload, String path, Class<T> responseKlass)
focal_method.full_signature: public T post(I payload, String path, Class<T> responseKlass)
focal_method.identifier: post
focal_method.invocations: post
focal_method.modifiers: public
focal_method.parameters: (I payload, String path, Class<T> responseKlass)
focal_method.return: T
focal_method.signature: T post(I payload, String path, Class<T> responseKlass)