public final class Values extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
uniqueValueFor(Class<T> aClass)
Returns a best effort at a unique value for a given type.
|
public static <T> T uniqueValueFor(Class<T> aClass)
Specifically:
PowerMockito
mock for any other typeT
- the type of the unique value requiredaClass
- the class for which a unique value is requiredCopyright © 2013. All Rights Reserved.