Package org.hibernate.testing.hamcrest
Class InitializationCheckMatcher<T>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hibernate.testing.hamcrest.InitializationCheckMatcher<T>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<T>
,org.hamcrest.SelfDescribing
public class InitializationCheckMatcher<T> extends org.hamcrest.BaseMatcher<T>
-
-
Field Summary
Fields Modifier and Type Field Description static InitializationCheckMatcher
INITIALIZED_MATCHER
static InitializationCheckMatcher
UNINITIALIZED_MATCHER
-
Constructor Summary
Constructors Constructor Description InitializationCheckMatcher()
InitializationCheckMatcher(boolean assertInitialized)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
static <T> InitializationCheckMatcher<T>
isInitialized()
static <T> org.hamcrest.Matcher<T>
isNotInitialized()
boolean
matches(Object item)
-
-
-
Field Detail
-
INITIALIZED_MATCHER
public static final InitializationCheckMatcher INITIALIZED_MATCHER
-
UNINITIALIZED_MATCHER
public static final InitializationCheckMatcher UNINITIALIZED_MATCHER
-
-
Method Detail
-
isInitialized
public static <T> InitializationCheckMatcher<T> isInitialized()
-
isNotInitialized
public static <T> org.hamcrest.Matcher<T> isNotInitialized()
-
matches
public boolean matches(Object item)
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
-