@API(status=MAINTAINED, since="1.4.0") public interface EmailArbitrary extends Arbitrary<java.lang.String>
By default only standard emails of the form username@domain.tld
are generated.
Other options like quoted local parts and ip addresses as host can be switched on.
Arbitrary.ArbitraryFacade
Modifier and Type | Method and Description |
---|---|
EmailArbitrary |
allowIpv4Host()
Allow IPv4 addresses in the host part.
|
EmailArbitrary |
allowIpv6Host()
Allow IPv6 addresses in the host part.
|
EmailArbitrary |
allowQuotedLocalPart()
Allow the local part of an email to be quoted within " characters.
|
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
EmailArbitrary allowQuotedLocalPart()
EmailArbitrary allowIpv4Host()
EmailArbitrary allowIpv6Host()