示例#1
0
  /**
   * Run the void setPayload(String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testSetPayload_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 payload = "";

    fixture.setPayload(payload);
  }
示例#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);
  }