Addresses

uk.gov.hmrc.smartstub.Addresses
See theAddresses companion object
trait Addresses

Attributes

Companion
object
Graph
Supertypes
class Any
Known subtypes
class AdvGen

Members list

Value members

Concrete methods

def postcode: Gen[String]
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

def ukPhoneNumber: Gen[String]