@Test
public final void testBeforeDeleteNode() throws Exception
{

    serviceRegistry.getNodeService().deleteNode(content0);
    txn.commit();
    txn = null;
    
    assertEquals(1, auditMapList.size());
    Map<String, Serializable> auditMap = auditMapList.get(0);
    assertEquals("DELETE", auditMap.get("action"));
    assertContains("deleteNode", auditMap.get("sub-actions"));
    assertEquals("/cm:homeFolder/cm:folder0/cm:content0", auditMap.get("path"));
    assertEquals("cm:content", auditMap.get("type"));
}