Examples of toSingleValueMap()


Examples of org.springframework.http.HttpHeaders.toSingleValueMap()

  }

  @And("^(?:the )?response headers (?:should contain|contains):$")
  public void the_response_headers_should_contain( Map<String, String> values ) throws Throwable {
    HttpHeaders body = restRequest.getHeaders();
    Map<String, String> singleValueMap = body.toSingleValueMap();
    mapChecker.contains( singleValueMap, values );
  }

  @And("^(?:the )?response headers (?:should contain|contains) \"([^\"]*)\" with value \"([^\"]*)\"$")
  public void the_response_headers_should_contain_with_value( String propertyName,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.