Interface MockFetcher<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addEntry​(String identifier, T entry)
      Adds an entry to the mock fetcher's internal fetching list with a given identifier as the key.
      void clearEntries()
      Clears all entries from the mock fetcher's internal fetching list.
      void removeEntry​(String identifier)
      Removes an entry from the
    • Method Detail

      • addEntry

        void addEntry​(String identifier,
                      T entry)
        Adds an entry to the mock fetcher's internal fetching list with a given identifier as the key.
        Parameters:
        identifier - Identifier of the entry to add.
        entry - Entry to add.
      • removeEntry

        void removeEntry​(String identifier)
        Removes an entry from the
        Parameters:
        identifier - Identifier for the entry to be removed.
      • clearEntries

        void clearEntries()
        Clears all entries from the mock fetcher's internal fetching list.