java.lang.Object
org.hamcrest.BaseMatcher<
Date>
org.hamcrest.TypeSafeMatcher<
Date>
net.thucydides.model.matchers.dates.DateIsBeforeMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<Date>, org.hamcrest.SelfDescribing
public class DateIsBeforeMatcher
extends org.hamcrest.TypeSafeMatcher<Date>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
DateIsBeforeMatcher
public DateIsBeforeMatcher(Date expectedDate)
-
Method Details
-
matchesSafely
public boolean matchesSafely(Date date)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<Date>
-
describeTo
public void describeTo(org.hamcrest.Description description)