I would like to compare two Registered Object and list the properties that differ.
For now, I achieve this :
ClassMethod AssertObjectEquals(object As%RegisteredObject, objectToCompare As%RegisteredObject, Output msg As%String) As%Status
{
Set returnValue = 1// check if same classSet className = $CLASSNAME(object)
If (className '= $CLASSNAME(objectToCompare)) {
Set returnValue = 0Set difference = "not same class"
}
If (returnValue) {
// Get the definition to browse properties
.png)
.png)
.jpg)
.png)

