Class PhoneGenerator
java.lang.Object
com.datengaertnerei.test.dataservice.phone.PhoneGenerator
- All Implemented Interfaces:
IPhoneGenerator
Generates random phone number, valid for Germany
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PhoneGenerator
public PhoneGenerator()
-
-
Method Details
-
generateMobileNumber
- Specified by:
generateMobileNumber
in interfaceIPhoneGenerator
- Returns:
- random phone number
-
generatePhoneNumber
- Specified by:
generatePhoneNumber
in interfaceIPhoneGenerator
- Parameters:
city
- city- Returns:
- random phone number
-