Package app.futured.arkitekt.rxusecases.test

Functions

Link copied to clipboard
inline fun <ARGS : Any, USE_CASE : CompletableUseCase<ARGS>> USE_CASE.mockExecute(resultBlock: () -> Completable)

Mock CompletableDisposablesOwner.execute method with any() matcher argument used as input argument.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : FlowableUseCase<ARGS, RETURN_VALUE>> USE_CASE.mockExecute(resultBlock: () -> Flowable<RETURN_VALUE>)

Mock FlowableDisposablesOwner.execute method with any() matcher argument used as input argument.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : MaybeUseCase<ARGS, RETURN_VALUE>> USE_CASE.mockExecute(resultBlock: () -> Maybe<RETURN_VALUE>)

Mock MaybeDisposablesOwner.execute method with any() matcher argument used as input argument.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : ObservableUseCase<ARGS, RETURN_VALUE>> USE_CASE.mockExecute(resultBlock: () -> Observable<RETURN_VALUE>)

Mock ObservableDisposablesOwner.execute method with any() matcher argument used as input argument.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : SingleUseCase<ARGS, RETURN_VALUE>> USE_CASE.mockExecute(resultBlock: () -> Single<RETURN_VALUE>)

Mock SingleDisposablesOwner.execute method with any() matcher argument used as input argument.

inline fun <ARGS : Any, USE_CASE : CompletableUseCase<ARGS>> USE_CASE.mockExecute(args: ARGS, resultBlock: () -> Completable)

Mock CompletableDisposablesOwner.execute method.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : FlowableUseCase<ARGS, RETURN_VALUE>> USE_CASE.mockExecute(args: ARGS, resultBlock: () -> Flowable<RETURN_VALUE>)

Mock FlowableDisposablesOwner.execute method.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : MaybeUseCase<ARGS, RETURN_VALUE>> USE_CASE.mockExecute(args: ARGS, resultBlock: () -> Maybe<RETURN_VALUE>)

Mock MaybeDisposablesOwner.execute method.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : ObservableUseCase<ARGS, RETURN_VALUE>> USE_CASE.mockExecute(args: ARGS, resultBlock: () -> Observable<RETURN_VALUE>)

Mock ObservableDisposablesOwner.execute method.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : SingleUseCase<ARGS, RETURN_VALUE>> USE_CASE.mockExecute(args: ARGS, resultBlock: () -> Single<RETURN_VALUE>)

Mock SingleDisposablesOwner.execute method.

Link copied to clipboard
inline fun <ARGS : Any, USE_CASE : CompletableUseCase<ARGS?>> USE_CASE.mockExecuteNullable(resultBlock: () -> Completable)

Mock CompletableDisposablesOwner.execute method for use cases with nullable input argument and any() matcher argument used as input argument.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : FlowableUseCase<ARGS?, RETURN_VALUE>> USE_CASE.mockExecuteNullable(resultBlock: () -> Flowable<RETURN_VALUE>)

Mock FlowableDisposablesOwner.execute method for use cases with nullable input argument and any() matcher argument used as input argument.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : MaybeUseCase<ARGS?, RETURN_VALUE>> USE_CASE.mockExecuteNullable(resultBlock: () -> Maybe<RETURN_VALUE>)

Mock MaybeDisposablesOwner.execute method for use cases with nullable input argument and any() matcher argument used as input argument.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : ObservableUseCase<ARGS?, RETURN_VALUE>> USE_CASE.mockExecuteNullable(resultBlock: () -> Observable<RETURN_VALUE>)

Mock ObservableDisposablesOwner.execute method for use cases with nullable input argument and any() matcher argument used as input argument.

inline fun <ARGS : Any, RETURN_VALUE, USE_CASE : SingleUseCase<ARGS?, RETURN_VALUE>> USE_CASE.mockExecuteNullable(resultBlock: () -> Single<RETURN_VALUE>)

Mock SingleDisposablesOwner.execute method for use cases with nullable input argument and any() matcher argument used as input argument.

inline fun <ARGS, USE_CASE : CompletableUseCase<ARGS?>> USE_CASE.mockExecuteNullable(args: ARGS, resultBlock: () -> Completable)

Mock CompletableDisposablesOwner.execute method for use cases with nullable input argument.

inline fun <ARGS, RETURN_VALUE, USE_CASE : FlowableUseCase<ARGS?, RETURN_VALUE>> USE_CASE.mockExecuteNullable(args: ARGS, resultBlock: () -> Flowable<RETURN_VALUE>)

Mock FlowableDisposablesOwner.execute method for use cases with nullable input argument

inline fun <ARGS, RETURN_VALUE, USE_CASE : MaybeUseCase<ARGS?, RETURN_VALUE>> USE_CASE.mockExecuteNullable(args: ARGS, resultBlock: () -> Maybe<RETURN_VALUE>)

Mock MaybeDisposablesOwner.execute method for use cases with nullable input argument.

inline fun <ARGS, RETURN_VALUE, USE_CASE : ObservableUseCase<ARGS?, RETURN_VALUE>> USE_CASE.mockExecuteNullable(args: ARGS, resultBlock: () -> Observable<RETURN_VALUE>)

Mock ObservableDisposablesOwner.execute method for use cases with nullable input argument

inline fun <ARGS, RETURN_VALUE, USE_CASE : SingleUseCase<ARGS?, RETURN_VALUE>> USE_CASE.mockExecuteNullable(args: ARGS, resultBlock: () -> Single<RETURN_VALUE>)

Mock SingleDisposablesOwner.execute method for use cases with nullable input argument.