예제 #1
0
  /**
   * Run the void setPath(String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testSetPath_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 path = "";

    fixture.setPath(path);
  }
예제 #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);
  }