spring-social-test
A B C E F G H M O R S V W

A

andExpect(RequestMatcher) - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
andExpect(RequestMatcher) - Method in interface org.springframework.social.test.client.ResponseActions
Allows for further expectations to be set on the request.
andRespond(ResponseCreator) - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
andRespond(ResponseCreator) - Method in interface org.springframework.social.test.client.ResponseActions
Sets the ResponseCreator for this mock.
anything() - Static method in class org.springframework.social.test.client.RequestMatchers
Expects any request.
assertEquals(String, Object, Object) - Static method in class org.springframework.social.test.client.AssertionErrors
Asserts that two objects are equal.
AssertionErrors - Class in org.springframework.social.test.client
JUnit independent assertion class.
assertTrue(String, boolean) - Static method in class org.springframework.social.test.client.AssertionErrors
Asserts that a condition is true.

B

body(String) - Static method in class org.springframework.social.test.client.RequestMatchers
Expects the given request body content

C

close() - Method in class org.springframework.social.test.client.MockClientHttpResponse
 
createRequest(URI, HttpMethod) - Method in class org.springframework.social.test.client.MockClientHttpRequestFactory
 
createResponse(ClientHttpRequest) - Method in interface org.springframework.social.test.client.ResponseCreator
Create a response for the given request
createServer(RestTemplate) - Static method in class org.springframework.social.test.client.MockRestServiceServer
Creates a MockRestServiceServer instance based on the given RestTemplate.
createServer(RestGatewaySupport) - Static method in class org.springframework.social.test.client.MockRestServiceServer
Creates a MockRestServiceServer instance based on the given RestGatewaySupport.

E

execute() - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
expect(RequestMatcher) - Method in class org.springframework.social.test.client.MockRestServiceServer
Records an expectation specified by the given RequestMatcher.

F

fail(String) - Static method in class org.springframework.social.test.client.AssertionErrors
Fails a test with the given message.

G

getBody() - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
getBody() - Method in class org.springframework.social.test.client.MockClientHttpResponse
 
getBodyContent() - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
getHeaders() - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
getHeaders() - Method in class org.springframework.social.test.client.MockClientHttpResponse
 
getHeaders() - Method in class org.springframework.social.test.client.MockHttpRequest
 
getMethod() - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
getMethod() - Method in class org.springframework.social.test.client.MockHttpRequest
 
getRawStatusCode() - Method in class org.springframework.social.test.client.MockClientHttpResponse
 
getStatusCode() - Method in class org.springframework.social.test.client.MockClientHttpResponse
 
getStatusText() - Method in class org.springframework.social.test.client.MockClientHttpResponse
 
getURI() - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
getURI() - Method in class org.springframework.social.test.client.MockHttpRequest
 

H

header(String, String) - Static method in class org.springframework.social.test.client.RequestMatchers
Expects the given request header
headerContains(String, String) - Static method in class org.springframework.social.test.client.RequestMatchers
Expects that the specified request header contains a subtring

M

match(ClientHttpRequest) - Method in interface org.springframework.social.test.client.RequestMatcher
Matches the given request message against the expectations.
method(HttpMethod) - Static method in class org.springframework.social.test.client.RequestMatchers
Expects the given HttpMethod.
MockClientHttpRequest - Class in org.springframework.social.test.client
Mock implementation of ClientHttpRequest.
MockClientHttpRequest() - Constructor for class org.springframework.social.test.client.MockClientHttpRequest
 
MockClientHttpRequestFactory - Class in org.springframework.social.test.client
Mock implementation of ClientHttpRequestFactory.
MockClientHttpRequestFactory() - Constructor for class org.springframework.social.test.client.MockClientHttpRequestFactory
 
MockClientHttpResponse - Class in org.springframework.social.test.client
Mock implementation of ClientHttpResponse.
MockClientHttpResponse(String, HttpHeaders, HttpStatus, String) - Constructor for class org.springframework.social.test.client.MockClientHttpResponse
 
MockClientHttpResponse(InputStream, HttpHeaders, HttpStatus, String) - Constructor for class org.springframework.social.test.client.MockClientHttpResponse
 
MockHttpRequest - Class in org.springframework.social.test.client
 
MockHttpRequest(String) - Constructor for class org.springframework.social.test.client.MockHttpRequest
 
MockHttpRequest(HttpMethod, String) - Constructor for class org.springframework.social.test.client.MockHttpRequest
 
MockRestServiceServer - Class in org.springframework.social.test.client
Main entry point for client-side REST testing.

O

org.springframework.social.test.client - package org.springframework.social.test.client
Test framework for ServiceProvider APIs.

R

RequestMatcher - Interface in org.springframework.social.test.client
Defines the contract for matching requests to expectations.
RequestMatchers - Class in org.springframework.social.test.client
Factory methods for RequestMatcher classes.
requestTo(String) - Static method in class org.springframework.social.test.client.RequestMatchers
Expects a request to the given URI.
requestTo(URI) - Static method in class org.springframework.social.test.client.RequestMatchers
Expects a request to the given URI.
ResponseActions - Interface in org.springframework.social.test.client
Allows for setting up responses and additional expectations.
ResponseCreator - Interface in org.springframework.social.test.client
Allows for creating up responses.
ResponseCreators - Class in org.springframework.social.test.client
Factory methods for ResponseCreator classes.

S

setHttpMethod(HttpMethod) - Method in class org.springframework.social.test.client.MockClientHttpRequest
 
setUri(URI) - Method in class org.springframework.social.test.client.MockClientHttpRequest
 

V

verify() - Method in class org.springframework.social.test.client.MockRestServiceServer
Verifies that all expectations were met.

W

withResponse(String, HttpHeaders, HttpStatus, String) - Static method in class org.springframework.social.test.client.ResponseCreators
Respond with a given response body, headers, status code, and status text.
withResponse(String, HttpHeaders) - Static method in class org.springframework.social.test.client.ResponseCreators
Response with a given response body and headers.
withResponse(Resource, HttpHeaders, HttpStatus, String) - Static method in class org.springframework.social.test.client.ResponseCreators
Respond with a given response body (from a Resource) and headers.
withResponse(Resource, HttpHeaders) - Static method in class org.springframework.social.test.client.ResponseCreators
Response with a given response body and headers.

A B C E F G H M O R S V W
spring-social-test