org.unitils.reflectionassert.util
Class InnerDifferenceFinder
java.lang.Object
org.unitils.reflectionassert.util.InnerDifferenceFinder
public class InnerDifferenceFinder
- extends Object
A utility class to get the difference at the given element/field/key.
- Author:
- Tim Ducheyne, Filip Neven
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InnerDifferenceFinder
public InnerDifferenceFinder()
getInnerDifference
public static Difference getInnerDifference(String fieldName,
Difference difference)
- Gets the difference at the given element/field/key (depending on the type of the given difference)
- Parameters:
fieldName
- The name of the element/field/keydifference
- The difference, not null
- Returns:
- The difference, null if there is no difference
Copyright © 2011. All Rights Reserved.