bad.robot.http.matchers.apache
Class ApacheHttpUriRequestHeaderMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<org.apache.http.client.methods.HttpUriRequest>
          extended by bad.robot.http.matchers.apache.ApacheHttpUriRequestHeaderMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.http.client.methods.HttpUriRequest>, org.hamcrest.SelfDescribing

public class ApacheHttpUriRequestHeaderMatcher
extends org.hamcrest.TypeSafeMatcher<org.apache.http.client.methods.HttpUriRequest>


Constructor Summary
ApacheHttpUriRequestHeaderMatcher(Headers expected)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matchesSafely(org.apache.http.client.methods.HttpUriRequest actual)
           
static org.hamcrest.Matcher<org.apache.http.client.methods.HttpUriRequest> requestContaining(Headers expected)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApacheHttpUriRequestHeaderMatcher

public ApacheHttpUriRequestHeaderMatcher(Headers expected)
Method Detail

requestContaining

public static org.hamcrest.Matcher<org.apache.http.client.methods.HttpUriRequest> requestContaining(Headers expected)

matchesSafely

public boolean matchesSafely(org.apache.http.client.methods.HttpUriRequest actual)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<org.apache.http.client.methods.HttpUriRequest>

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2012. All Rights Reserved.