PrepareGetCredentialResponse.TestBuilder


@VisibleForTesting
public final class PrepareGetCredentialResponse.TestBuilder


A builder for PrepareGetCredentialResponse for test use only.

Summary

Public constructors

Public constructors

TestBuilder

Added in 1.2.0
public TestBuilder()

Public methods

build

Added in 1.2.0
public final @NonNull PrepareGetCredentialResponse build()

Builds a PrepareGetCredentialResponse.

setCredentialTypeDelegate

Added in 1.2.0
@VisibleForTesting
public final @NonNull PrepareGetCredentialResponse.TestBuilder setCredentialTypeDelegate(
    @NonNull Function1<@NonNull String, @NonNull Boolean> handler
)

Sets the credential type handler.

setHasAuthResultsDelegate

Added in 1.2.0
@VisibleForTesting
public final @NonNull PrepareGetCredentialResponse.TestBuilder setHasAuthResultsDelegate(@NonNull Function0<@NonNull Boolean> handler)

Sets the has authentication results bit.

setHasRemoteResultsDelegate

Added in 1.2.0
@VisibleForTesting
public final @NonNull PrepareGetCredentialResponse.TestBuilder setHasRemoteResultsDelegate(@NonNull Function0<@NonNull Boolean> handler)

Sets the has remote results bit.