@Test
public final void testOnContentUpdate() throws Exception
{

    ContentWriter writer = serviceRegistry.getContentService().getWriter(content1, ContentModel.TYPE_CONTENT, true);
    writer.putContent("The cow jumped over the moon.");
    txn.commit();
    txn = null;
    assertEquals(1, auditMapList.size());
    Map<String, Serializable> auditMap = auditMapList.get(0);
    assertEquals("UPDATE CONTENT", auditMap.get("action")); // TODO Should be UPDATE CONTENT
    assertContains("updateContent", auditMap.get("sub-actions"));
    assertContains("updateNodeProperties", auditMap.get("sub-actions"));
    assertEquals("/cm:homeFolder/cm:folder1/cm:content1", auditMap.get("path"));
    assertEquals("cm:content", auditMap.get("type"));
}