Class DateTimeCollectionContainsSameDatesMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<java.util.Collection<org.joda.time.DateTime>>
net.thucydides.core.matchers.dates.DateTimeCollectionContainsSameDatesMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<java.util.Collection<org.joda.time.DateTime>>
,org.hamcrest.SelfDescribing
public class DateTimeCollectionContainsSameDatesMatcher
extends org.hamcrest.TypeSafeMatcher<java.util.Collection<org.joda.time.DateTime>>
-
Constructor Summary
Constructors Constructor Description DateTimeCollectionContainsSameDatesMatcher(java.util.Collection<org.joda.time.DateTime> expectedDates)
-
Method Summary
Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
boolean
matchesSafely(java.util.Collection<org.joda.time.DateTime> dates)
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
DateTimeCollectionContainsSameDatesMatcher
public DateTimeCollectionContainsSameDatesMatcher(java.util.Collection<org.joda.time.DateTime> expectedDates)
-
-
Method Details
-
matchesSafely
public boolean matchesSafely(java.util.Collection<org.joda.time.DateTime> dates)- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<java.util.Collection<org.joda.time.DateTime>>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-