Package se.dannej.fakehttpserver.expect

Examples of se.dannej.fakehttpserver.expect.DummyRequest


import se.dannej.fakehttpserver.expect.DummyRequest;

public class FakeHttpServletRequestTest {
  @Test
  public void getHeadersWithNameReturnsEmptyListIfNoHeaders() {
    FakeHttpServletRequest request = new FakeHttpServletRequest(new DummyRequest());
   
    List<Header> headers = request.getHeadersWithName("not-exist");
   
    assertThat(headers, is(not(nullValue())));
  }
View Full Code Here

TOP

Related Classes of se.dannej.fakehttpserver.expect.DummyRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.