EmailValueProvider

class EmailValueProvider(val emailTemplate: String = DEFAULT_EMAIL_TEMPLATE) : SchemaValueProvider

Provides email values for string schemas with format "email".

Generates varied emails based on variationIndex.

Constructors

Link copied to clipboard
constructor(emailTemplate: String = DEFAULT_EMAIL_TEMPLATE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun provide(schema: Schema<*>, variationIndex: Int): Any?

Attempts to provide an example value for the given schema.