Class IncidentQueryMock
java.lang.Object
org.camunda.community.mockito.query.IncidentQueryMock
- All Implemented Interfaces:
Supplier<org.camunda.bpm.engine.runtime.IncidentQuery>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.camunda.bpm.engine.runtime.IncidentQuerycount(long result) forService(org.camunda.bpm.engine.RuntimeService service) final org.camunda.bpm.engine.runtime.IncidentQueryget()org.camunda.bpm.engine.runtime.IncidentQueryorg.camunda.bpm.engine.runtime.IncidentQueryorg.camunda.bpm.engine.runtime.IncidentQuerysingleResult(org.camunda.bpm.engine.runtime.Incident result)
-
Constructor Details
-
IncidentQueryMock
public IncidentQueryMock()
-
-
Method Details
-
list
public org.camunda.bpm.engine.runtime.IncidentQuery list(List<org.camunda.bpm.engine.runtime.Incident> result) -
singleResult
public org.camunda.bpm.engine.runtime.IncidentQuery singleResult(org.camunda.bpm.engine.runtime.Incident result) -
count
public org.camunda.bpm.engine.runtime.IncidentQuery count(long result) -
listPage
public org.camunda.bpm.engine.runtime.IncidentQuery listPage(List<org.camunda.bpm.engine.runtime.Incident> result, int min, int max) -
forService
-
get
public final org.camunda.bpm.engine.runtime.IncidentQuery get()
-