- java.lang.Object
-
- org.testfx.assertions.impl.Adapter
-
public class Adapter extends Object
Provides static utility methods for converting a hamcrest matcher to an AssertJ condition. We use this internally in the implementation of AssertJ assertions.This class is not part of the TestFX API and is not expected to be useful outside of our specific context.
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
Modifier and Type Method Description static <T> org.assertj.core.api.Condition<? super T>
fromInverseMatcher(org.hamcrest.Matcher<? extends T> matcher)
static <T> org.assertj.core.api.Condition<? super T>
fromMatcher(org.hamcrest.Matcher<? extends T> matcher)
-