Class Named.Factory

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

    public static class Named.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 Named annotation of the parameter.
        Specified by:
        apply in interface Function<org.junit.jupiter.api.extension.ParameterContext,​Predicate<Object>>