Package org.hibernate.reactive.common
Class InternalStateAssertions
java.lang.Object
org.hibernate.reactive.common.InternalStateAssertions
Commonly used assertions to verify that the operations
are running on the expected events and threads.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertCurrentContextMatches(Object object, io.vertx.core.impl.ContextInternal expectedContext) static voidassertCurrentThreadMatches(Thread expectedThread) static void
-
Method Details
-
assertUseOnEventLoop
public static void assertUseOnEventLoop() -
assertCurrentThreadMatches
-
assertCurrentContextMatches
public static void assertCurrentContextMatches(Object object, io.vertx.core.impl.ContextInternal expectedContext)
-