public interface PodamFactory
| Modifier and Type | Method and Description |
|---|---|
DataProviderStrategy |
getStrategy()
It returns the strategy for this factory.
|
<T> T |
manufacturePojo(Class<T> pojoClass)
Generic method which returns an instance of the given class filled with
dummy values, using the default data provider strategy.
|
<T> T |
manufacturePojo(Class<T> pojoClass,
Type... genericTypeArgs)
Generic method which returns an instance of the given class filled with
dummy values, using the default data provider strategy.
|
<T> T manufacturePojo(Class<T> pojoClass)
This method uses RandomDataProviderStrategy as the default
implementation.
pojoClass - The name of the class for which an instance filled with values
is requiredPodamMockeryException - if a problem occurred while
creating a POJO instance or while
setting its state<T> T manufacturePojo(Class<T> pojoClass, Type... genericTypeArgs)
This method uses RandomDataProviderStrategy as the default
implementation.
T - The type for which a filled instance is requiredpojoClass - The name of the class for which an instance filled with values
is requiredgenericTypeArgs - The generic Type arguments for a generic class instancePodamMockeryException - if a problem occurred while creating a POJO instance or while
setting its stateDataProviderStrategy getStrategy()
Copyright © 2015. All rights reserved.