class Name: YamlFakeDataProvider<Name>
Fields
Name | Description |
---|---|
protected yamlCategory: YamlCategory
|
Category for This is the key entry after the For example
then the yamlCategory would be YamlCategory.ADDRESS NB! If the secondaryCategory is NOT set,the dictionary filename should match the yamlCategory name,i.e. the file name should be |
protected localUniqueDataProvider: LocalUniqueDataProvider<Name>
|
A LocalUniqueDataProvider instance that is used with this unique provider. |
val unique: Name
|
An instance of T for generating unique values |
Methods
maleFirstName
fun maleFirstName(): resolve("male_first_name")
ReturnValue
Name | Description |
---|---|
resolve("male_first_name")
|
femaleFirstName
fun femaleFirstName(): resolve("female_first_name")
ReturnValue
Name | Description |
---|---|
resolve("female_first_name")
|
neutralFirstName
fun neutralFirstName(): resolve("neutral_first_name")
ReturnValue
Name | Description |
---|---|
resolve("neutral_first_name")
|
firstName
fun firstName(): resolve("first_name")
ReturnValue
Name | Description |
---|---|
resolve("first_name")
|
lastName
fun lastName(): resolve("last_name")
ReturnValue
Name | Description |
---|---|
resolve("last_name")
|
name
fun name(): resolve("name")
ReturnValue
Name | Description |
---|---|
resolve("name")
|
nameWithMiddle
fun nameWithMiddle(): resolve("name_with_middle")
ReturnValue
Name | Description |
---|---|
resolve("name_with_middle")
|
FakeDataProvider implementation for YamlCategory.NAME category.