* @param removed the number of children removed.
* @param added the number of children added
*/
public static void assertChange(final Object object, final Element element,
final int removed, final int added) {
ElementChange change = (ElementChange) object;
assertSame("change.element", element, change.getElement());
assertEquals("change.removed.length", removed, change.getChildrenRemoved().length);
assertEquals("change.added.length", added, change.getChildrenAdded().length);
}