Interface IPhoneGenerator

All Known Implementing Classes:
PhoneGenerator

public interface IPhoneGenerator
Interface for random phone number generator
  • Method Details

    • generateMobileNumber

      PhoneNumber generateMobileNumber()
      Returns:
      random phone number
    • generatePhoneNumber

      PhoneNumber generatePhoneNumber(String city)
      Parameters:
      city - city
      Returns:
      random phone number