bad.robot.http.matchers
Class HttpResponseStatusCodeMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<HttpResponse>
          extended by bad.robot.http.matchers.HttpResponseStatusCodeMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<HttpResponse>, org.hamcrest.SelfDescribing

public class HttpResponseStatusCodeMatcher
extends org.hamcrest.TypeSafeMatcher<HttpResponse>


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static HttpResponseStatusCodeMatcher hasStatus(int expected)
           
 boolean matchesSafely(HttpResponse actual)
           
 
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
 

Method Detail

hasStatus

public static HttpResponseStatusCodeMatcher hasStatus(int expected)

matchesSafely

public boolean matchesSafely(HttpResponse actual)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<HttpResponse>

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2012. All Rights Reserved.