Class Identified.Factory

  • All Implemented Interfaces:
    Function<org.junit.jupiter.api.extension.ParameterContext,​Predicate<Object>>
    Enclosing class:
    Identified

    public static class Identified.Factory
    extends Object
    implements Function<org.junit.jupiter.api.extension.ParameterContext,​Predicate<Object>>
    The predicate factory for the enclosing annotation
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • apply

        public Predicate<Object> apply​(org.junit.jupiter.api.extension.ParameterContext t)
        Creates a predicate which checks, whether the object is of type Identifier and if so, whether the identifier matches the value of the Identified annotation of the parameter.
        Specified by:
        apply in interface Function<org.junit.jupiter.api.extension.ParameterContext,​Predicate<Object>>