Package org.powertac.visualizer.web.rest
Class TestUtil.ZonedDateTimeMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeDiagnosingMatcher<String>
-
- org.powertac.visualizer.web.rest.TestUtil.ZonedDateTimeMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<String>,org.hamcrest.SelfDescribing
- Enclosing class:
- TestUtil
public static class TestUtil.ZonedDateTimeMatcher extends org.hamcrest.TypeSafeDiagnosingMatcher<String>
A matcher that tests that the examined string represents the same instant as the reference datetime.
-
-
Constructor Summary
Constructors Constructor Description ZonedDateTimeMatcher(ZonedDateTime date)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddescribeTo(org.hamcrest.Description description)protected booleanmatchesSafely(String item, org.hamcrest.Description mismatchDescription)
-
-
-
Constructor Detail
-
ZonedDateTimeMatcher
public ZonedDateTimeMatcher(ZonedDateTime date)
-
-