test_class.declarator: XSD_OADR20A_SCHEMA = "src/test/resources/oadr20a_schema"
test_class.modifier: public static final
test_class.original_string: public static final String XSD_OADR20A_SCHEMA = "src/test/resources/oadr20a_schema";
test_class.type: String
test_class.var_name: XSD_OADR20A_SCHEMA
test_class.declarator: jaxbContext
test_class.modifier: private
test_class.original_string: private Oadr20aJAXBContext jaxbContext;
test_class.type: Oadr20aJAXBContext
test_class.var_name: jaxbContext
test_class.file: OpenADRHTTPClient20a/src/test/java/com/avob/openadr/client/http/oadr20a/OadrHttpClient20aTest.java
test_class.identifier: OadrHttpClient20aTest
test_case.body: @Test
  	public void validPostTest() 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();
  		OadrResponse post = client.post(mockDistributeEvent,
  				Oadr20aUrlPath.OADR_BASE_PATH + Oadr20aUrlPath.EI_EVENT_SERVICE, OadrResponse.class);
  
  		assertEquals(String.valueOf(scOk), post.getEiResponse().getResponseCode());
  	}
test_case.class_method_signature: OadrHttpClient20aTest.validPostTest()
test_case.full_signature: @Test public void validPostTest()
test_case.identifier: validPostTest
test_case.invocations: mock build newOadr20aResponseBuilder marshal createHttpResponse thenReturn when execute anyObject any any any createOadrDistributeEvent post assertEquals valueOf getResponseCode getEiResponse
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void validPostTest()
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: jaxbContext
focal_class.modifier: private
focal_class.original_string: private Oadr20aJAXBContext jaxbContext;
focal_class.type: Oadr20aJAXBContext
focal_class.var_name: jaxbContext
focal_class.file: OpenADRHTTPClient20a/src/main/java/com/avob/openadr/client/http/oadr20a/OadrHttpClient20a.java
focal_class.identifier: OadrHttpClient20a
focal_class.class_method_signature: OadrHttpClient20a.OadrHttpClient20a(OadrHttpClient client)
focal_class.full_signature: public  OadrHttpClient20a(OadrHttpClient client)
focal_class.identifier: OadrHttpClient20a
focal_class.modifiers: public
focal_class.parameters: (OadrHttpClient client)
focal_class.signature:  OadrHttpClient20a(OadrHttpClient client)
focal_class.class_method_signature: OadrHttpClient20a.post(Object payload, String path, Class<T> responseKlass)
focal_class.full_signature: public T post(Object payload, String path, Class<T> responseKlass)
focal_class.identifier: post
focal_class.modifiers: public
focal_class.parameters: (Object payload, String path, Class<T> responseKlass)
focal_class.return: T
focal_class.signature: T post(Object payload, String path, Class<T> responseKlass)
focal_class.class_method_signature: OadrHttpClient20a.post(String host, String path, HttpClientContext context, Object payload, Class<T> responseKlass)
focal_class.full_signature: public T post(String host, String path, HttpClientContext context, Object payload, Class<T> responseKlass)
focal_class.identifier: post
focal_class.modifiers: public
focal_class.parameters: (String host, String path, HttpClientContext context, Object payload, Class<T> responseKlass)
focal_class.return: T
focal_class.signature: T post(String host, String path, HttpClientContext context, Object payload, Class<T> responseKlass)
focal_method.body: public <T> T post(Object payload, String path, Class<T> responseKlass)
  			throws Oadr20aException, Oadr20aHttpLayerException {
  		return this.post(null, path, null, payload, responseKlass);
  	}
focal_method.class_method_signature: OadrHttpClient20a.post(Object payload, String path, Class<T> responseKlass)
focal_method.full_signature: public T post(Object payload, String path, Class<T> responseKlass)
focal_method.identifier: post
focal_method.invocations: post
focal_method.modifiers: public
focal_method.parameters: (Object payload, String path, Class<T> responseKlass)
focal_method.return: T
focal_method.signature: T post(Object payload, String path, Class<T> responseKlass)