org.unitils.inject.util
Class ValueToRestore
java.lang.Object
org.unitils.inject.util.ValueToRestore
public class ValueToRestore
- extends Object
Class for holding values that need to be restored after a test was performed. It also contains information
on how and where the value needs to be restored.
- Author:
- Filip Neven, Tim Ducheyne
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueToRestore
public ValueToRestore(Class<?> targetClass,
String property,
Class<?> fieldType,
PropertyAccess propertyAccess,
Object value)
getTargetClass
public Class<?> getTargetClass()
getProperty
public String getProperty()
getFieldType
public Class<?> getFieldType()
getPropertyAccessType
public PropertyAccess getPropertyAccessType()
getValue
public Object getValue()
Copyright © 2011. All Rights Reserved.