@Test
public void getAllAudits() throws Exception {

	// Initialize the database
	auditEventRepository.save(auditEvent);
	// Get all the audits
	restAuditMockMvc.perform(get("/api/audits")).andExpect(status().isOk())
			// .andDo(print())
			.andExpect(content().contentType(MediaType.APPLICATION_JSON)).andExpect(jsonPath("$.[*].principal").value(hasItem(SAMPLE_PRINCIPAL)));
}