Schnittstelle MockQueryResultHandler


@ConsumerType public interface MockQueryResultHandler
Allows to set mocked query results for a mocked QueryManager.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Checks if this handler accepts the given query, and returns the result if this is the case.
  • Methodendetails

    • executeQuery

      MockQueryResult executeQuery(MockQuery query)
      Checks if this handler accepts the given query, and returns the result if this is the case.
      Parameter:
      query - Query that is executed
      Gibt zurück:
      Query result if the query can be executed by this handler. If not, null is returned and other handlers are asked to provide a result.