@Test
public void shouldNotAuditBlacklistedAction() {

    initialisePattern(".*\\.action");
    auditService.audit(jsonEnvelope, COMPONENT);
    verify(logger, times(1)).info("Skipping auditing of action test.action due to configured blacklist pattern .*\\.action.");
    verify(auditClient, never()).auditEntry(jsonEnvelope, COMPONENT);
}