예제 #1
0
  /**
   * Run the String getLoggingKey() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testGetLoggingKey_1() throws Exception {
    HDRequest fixture = new HDRequest();
    fixture.setProtocol("");
    fixture.setQueryString(new LinkedList());
    fixture.setRequestHeaders(new LinkedList());
    fixture.setMethod("");
    fixture.setPostDatas(new LinkedList());
    fixture.setReqFormat("");
    fixture.setLoggingKey("");
    fixture.setLabel("");
    fixture.setPort("");
    fixture.setPayload("");
    fixture.setPath("");
    fixture.setHost("");

    String result = fixture.getLoggingKey();

    assertEquals("", result);
  }
예제 #2
0
  /**
   * Run the void setRequestHeaders(List<Header>) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testSetRequestHeaders_1() throws Exception {
    HDRequest fixture = new HDRequest();
    fixture.setProtocol("");
    fixture.setQueryString(new LinkedList());
    fixture.setRequestHeaders(new LinkedList());
    fixture.setMethod("");
    fixture.setPostDatas(new LinkedList());
    fixture.setReqFormat("");
    fixture.setLoggingKey("");
    fixture.setLabel("");
    fixture.setPort("");
    fixture.setPayload("");
    fixture.setPath("");
    fixture.setHost("");
    List<Header> requestHeaders = new LinkedList();

    fixture.setRequestHeaders(requestHeaders);
  }