Class MockSupplierPredicate

  • All Implemented Interfaces:
    java.util.function.BiPredicate<ItemModel,​java.lang.String>, java.util.function.Supplier<java.lang.String>

    public class MockSupplierPredicate
    extends java.lang.Object
    implements java.util.function.BiPredicate<ItemModel,​java.lang.String>, java.util.function.Supplier<java.lang.String>
    Mock class to mimic the presetValue supplier and predicate methods
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get()  
      boolean test​(ItemModel t, java.lang.String u)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiPredicate

        and, negate, or
    • Constructor Detail

      • MockSupplierPredicate

        public MockSupplierPredicate()
    • Method Detail

      • get

        public java.lang.String get()
        Specified by:
        get in interface java.util.function.Supplier<java.lang.String>
      • test

        public boolean test​(ItemModel t,
                            java.lang.String u)
        Specified by:
        test in interface java.util.function.BiPredicate<ItemModel,​java.lang.String>