org.springframework.social.test.client
Interface RequestMatcher


public interface RequestMatcher

Defines the contract for matching requests to expectations.


Method Summary
 void match(ClientHttpRequest request)
          Matches the given request message against the expectations.
 

Method Detail

match

void match(ClientHttpRequest request)
           throws java.io.IOException,
                  java.lang.AssertionError
Matches the given request message against the expectations.

Parameters:
request - the request to make assertions on
Throws:
java.io.IOException - in case of I/O errors
java.lang.AssertionError - if expectations are not met