Beispiel #1
0
  /**
   * Run the void setQueryString(List<Header>) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testSetQueryString_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> queryString = new LinkedList();

    fixture.setQueryString(queryString);
  }
Beispiel #2
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);
  }