Class UserQueryMock
- java.lang.Object
-
- org.camunda.bpm.extension.mockito.query.UserQueryMock
-
- All Implemented Interfaces:
java.util.function.Supplier<org.camunda.bpm.engine.identity.UserQuery>
public class UserQueryMock extends Object
-
-
Constructor Summary
Constructors Constructor Description UserQueryMock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Qcount(long result)MforService(S service)Qget()Qlist(List<R> result)QlistPage(List<R> result, int min, int max)QsingleResult(R result)
-
-
-
Method Detail
-
list
public Q list(List<R> result)
-
singleResult
public Q singleResult(R result)
-
count
public Q count(long result)
-
listPage
public Q listPage(List<R> result, int min, int max)
-
forService
public M forService(S service)
-
get
public final Q get()
- Specified by:
getin interfacejava.util.function.Supplier<M extends org.camunda.bpm.extension.mockito.query.AbstractQueryMock<M,Q,R,S>>
-
-