Package de.cuioss.test.generator.impl
Class NonBlankStringGenerator
- java.lang.Object
-
- de.cuioss.test.generator.impl.NonBlankStringGenerator
-
- All Implemented Interfaces:
TypedGenerator<String>
public class NonBlankStringGenerator extends Object implements TypedGenerator<String>
Provide anyStringwhich is not empty and not blank.
-
-
Constructor Summary
Constructors Constructor Description NonBlankStringGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<String>getType()Stringnext()Generates the next instance.
-
-
-
Constructor Detail
-
NonBlankStringGenerator
public NonBlankStringGenerator()
-
-
Method Detail
-
getType
public Class<String> getType()
- Specified by:
getTypein interfaceTypedGenerator<String>- Returns:
- class information; which type this generator is responsible for.
-
next
public String next()
Description copied from interface:TypedGeneratorGenerates the next instance.- Specified by:
nextin interfaceTypedGenerator<String>- Returns:
- a newly created instance
-
-