Package de.cuioss.test.generator.domain
Class PhoneNumberGenerator
- java.lang.Object
-
- de.cuioss.test.generator.domain.PhoneNumberGenerator
-
- All Implemented Interfaces:
TypedGenerator<String>
public class PhoneNumberGenerator extends Object implements TypedGenerator<String>
Simply generates random phone numbers.- Author:
- Oliver Wolff
-
-
Constructor Summary
Constructors Constructor Description PhoneNumberGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<String>getType()Stringnext()Generates the next instance.
-
-
-
Constructor Detail
-
PhoneNumberGenerator
public PhoneNumberGenerator()
-
-
Method Detail
-
next
public String next()
Description copied from interface:TypedGeneratorGenerates the next instance.- Specified by:
nextin interfaceTypedGenerator<String>- Returns:
- a newly created instance
-
-