AdvGen

uk.gov.hmrc.smartstub.`package`.AdvGen
final implicit class AdvGen(val g: Gen.type) extends AnyVal, Loader, Names, Addresses, Temporal, Pattern, Companies

Attributes

Graph
Supertypes
trait Companies
trait Pattern
trait Temporal
trait Addresses
trait Names
trait Loader
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def age: Gen[Int]
def boolean: Gen[Boolean]

Inherited methods

def _forenames: Map[Gender, Gen[String]]

Attributes

Inherited from:
Names
def company: Gen[String]

Attributes

Inherited from:
Companies
def date(start: Int, end: Int): Gen[LocalDate]

Attributes

Inherited from:
Temporal
def date: Gen[LocalDate]

Attributes

Inherited from:
Temporal
def date(start: LocalDate, end: LocalDate): Gen[LocalDate]

Attributes

Inherited from:
Temporal
def forename(g: Gender): Gen[String]

Attributes

Inherited from:
Names
def forename(): Gen[String]

Attributes

Inherited from:
Names
def gender: Gen[Gender]

Attributes

Inherited from:
Names
def loadFile(file: String): Gen[String]

Attributes

Inherited from:
Loader
def loadWeightedFile(file: String): Gen[String]

Attributes

Inherited from:
Loader
def pattern[T](pattern: Seq[Seq[T]]): Enumerable[Seq[T]]

Attributes

Inherited from:
Pattern
def postcode: Gen[String]

Attributes

Inherited from:
Addresses
def surname: Gen[String]

Attributes

Inherited from:
Names
def ukAddress: Gen[List[String]]

A generator that produces a semi-plausible (but fake) domestic address. Postcode prefixes and their corresponding towns are real but the street names, second part of the postcode and house numbers are random.

A generator that produces a semi-plausible (but fake) domestic address. Postcode prefixes and their corresponding towns are real but the street names, second part of the postcode and house numbers are random.

Attributes

Inherited from:
Addresses
def ukPhoneNumber: Gen[String]

Attributes

Inherited from:
Addresses

Concrete fields

val g: Gen.type