Module org.testfx

Class 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 Detail

      • Adapter

        public Adapter()
    • Method Detail

      • fromInverseMatcher

        public static <T> org.assertj.core.api.Condition<? super T> fromInverseMatcher​(org.hamcrest.Matcher<? extends T> matcher)
      • fromMatcher

        public static <T> org.assertj.core.api.Condition<? super T> fromMatcher​(org.hamcrest.Matcher<? extends T> matcher)