Class Adapter

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 Details

    • Adapter

      public Adapter()
  • Method Details

    • 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)