class CellPhone: YamlFakeDataProvider<CellPhone>
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<CellPhone>
|
A LocalUniqueDataProvider instance that is used with this unique provider. |
val unique: CellPhone
|
An instance of T for generating unique values |
Methods
number
fun number(): with(fakerService) { resolve("formats").numerify() }
ReturnValue
| Name | Description |
|---|---|
with(fakerService) { resolve("formats").numerify() }
|
FakeDataProvider implementation for YamlCategory.CELL_PHONE category.