Class Objectionary.Fake

  • All Implemented Interfaces:
    Objectionary
    Enclosing interface:
    Objectionary

    public static final class Objectionary.Fake
    extends Object
    implements Objectionary
    Objectionary with lambda-function Ctor-s for testing.
    Since:
    0.28.11
    • Constructor Detail

      • Fake

        public Fake()
        Ctor.
    • Method Detail

      • get

        public org.cactoos.Input get​(String name)
        Description copied from interface: Objectionary
        Resolve object.
        Specified by:
        get in interface Objectionary
        Parameters:
        name - Object name.
        Returns:
        Object code.
      • contains

        public boolean contains​(String name)
        Description copied from interface: Objectionary
        Checks whether an Objectionary contains a provided object.
        Specified by:
        contains in interface Objectionary
        Parameters:
        name - Object name.
        Returns:
        Boolean: "true" if found, "false" if not.