Package org.eolang

Class PhFake

  • All Implemented Interfaces:
    Cloneable, Data, Phi, Term

    public final class PhFake
    extends PhDefault
    Fake object, mostly for unit tests.
    Since:
    0.29
    • Constructor Detail

      • PhFake

        public PhFake()
        Ctor.
      • PhFake

        public PhFake​(Supplier<Phi> sup)
        Ctor.
        Parameters:
        sup - The function to return the real object