FakeDataService

The main entry point for the fake data library, a domain service that provides the ability to obtain a random value for multiple different types.

Also provides #javaFaker() access to the Faker class which provides many more random instances, some relating to movies and tv shows.

API

FakeDataService.java
class FakeDataService {
  FakeDataService(ClockService clockService, RepositoryService repositoryService)
  void init()
  Faker javaFaker()     (1)
  Names name()
  Comms comms()
  Lorem lorem()
  Addresses addresses()
  CreditCards creditCards()
  Books books()
  Bytes bytes()
  Shorts shorts()
  Integers ints()
  Longs longs()
  Floats floats()
  Doubles doubles()
  Chars chars()
  Booleans booleans()
  Strings strings()
  Collections collections()
  Enums enums()
  JavaUtilDates javaUtilDates()
  JavaSqlDates javaSqlDates()
  JavaSqlTimestamps javaSqlTimestamps()
  JavaTimeLocalDates javaTimeLocalDates()
  JavaTimeDateTimes javaTimeDateTimes()
  JavaTimePeriods javaTimePeriods()
  JodaLocalDates jodaLocalDates()
  JodaDateTimes jodaDateTimes()
  JodaPeriods jodaPeriods()
  BigDecimals bigDecimals()
  BigIntegers bigIntegers()
  Urls urls()
  Uuids uuids()
  CausewayPasswords causewayPasswords()
  CausewayBlobs causewayBlobs()
  CausewayClobs causewayClobs()
}
1 javaFaker()

Access to the full API of the underlying javafaker library.

Members

javaFaker()

Access to the full API of the underlying javafaker library.