Class TenantQueryMock

java.lang.Object
org.camunda.community.mockito.query.TenantQueryMock
All Implemented Interfaces:
Supplier<org.camunda.bpm.engine.identity.TenantQuery>

public class TenantQueryMock extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.camunda.bpm.engine.identity.TenantQuery
    count(long result)
     
    forService(org.camunda.bpm.engine.IdentityService service)
     
    final org.camunda.bpm.engine.identity.TenantQuery
    get()
     
    org.camunda.bpm.engine.identity.TenantQuery
    list(List<org.camunda.bpm.engine.identity.Tenant> result)
     
    org.camunda.bpm.engine.identity.TenantQuery
    listPage(List<org.camunda.bpm.engine.identity.Tenant> result, int min, int max)
     
    org.camunda.bpm.engine.identity.TenantQuery
    singleResult(org.camunda.bpm.engine.identity.Tenant result)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TenantQueryMock

      public TenantQueryMock()
  • Method Details

    • list

      public org.camunda.bpm.engine.identity.TenantQuery list(List<org.camunda.bpm.engine.identity.Tenant> result)
    • singleResult

      public org.camunda.bpm.engine.identity.TenantQuery singleResult(org.camunda.bpm.engine.identity.Tenant result)
    • count

      public org.camunda.bpm.engine.identity.TenantQuery count(long result)
    • listPage

      public org.camunda.bpm.engine.identity.TenantQuery listPage(List<org.camunda.bpm.engine.identity.Tenant> result, int min, int max)
    • forService

      public TenantQueryMock forService(org.camunda.bpm.engine.IdentityService service)
    • get

      public final org.camunda.bpm.engine.identity.TenantQuery get()
      Specified by:
      get in interface Supplier<M extends org.camunda.community.mockito.query.AbstractQueryMock<M,Q,R,S>>