@Test
public final void testOnMoveNode()
{

    ChildAssociationRef fromChildAssocRef = mock(ChildAssociationRef.class);
    when(fromChildAssocRef.getChildRef()).thenReturn(content1); // correct as the move has taken place
    when(fromChildAssocRef.getParentRef()).thenReturn(folder2);
    when(fromChildAssocRef.getQName()).thenReturn(QName.createQName("URI", "content1"));
    
    ChildAssociationRef toChildAssocRef = mock(ChildAssociationRef.class);
    when(toChildAssocRef.getChildRef()).thenReturn(content1);
    when(toChildAssocRef.getParentRef()).thenReturn(folder1);
    when(toChildAssocRef.getQName()).thenReturn(QName.createQName("URI", "content1"));
    
    nodeChange.onMoveNode(fromChildAssocRef, toChildAssocRef);
    
    Map<String, Serializable> auditMap = nodeChange.getAuditData(false);
    assertStandardData(auditMap, "MOVE", "moveNode");
    assertEquals("/cm:homeFolder/cm:folder2/cm:content1", auditMap.get("move/from/path"));
    assertEquals(content1, auditMap.get("move/from/node"));
    assertEquals("cm:content", auditMap.get("move/from/type"));
}