public class InstanceTestValues extends Object implements TestValues
Constructor and Description |
---|
InstanceTestValues() |
Modifier and Type | Method and Description |
---|---|
protected Object |
extractValue(Instance instance,
PropertyEntityDefinition property)
Extract the value represented by the given property from the given
instance.
|
Object |
get(PropertyEntityDefinition property)
Get a test value for the given property.
|
protected Object |
getDefaultValue(PropertyEntityDefinition property)
Get a default test value for the given property.
|
protected Instance |
getInstance(PropertyEntityDefinition property)
Get an instance that may hold a value for the given property.
|
public Object get(PropertyEntityDefinition property)
TestValues
get
in interface TestValues
property
- the propertyTestValues.get(PropertyEntityDefinition)
protected Object extractValue(Instance instance, PropertyEntityDefinition property)
instance
- the instanceproperty
- the propertynull
protected Object getDefaultValue(PropertyEntityDefinition property)
property
- the propertyprotected Instance getInstance(PropertyEntityDefinition property)
property
- the propertynull
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a