@Test
public void shouldAuditNonBlacklistedAction() throws Exception {

    initialisePattern(".*\\.action");
    when(metadata.name()).thenReturn("some-action");
    auditService.audit(jsonEnvelope, COMPONENT);
    verify(auditClient, times(1)).auditEntry(jsonEnvelope, COMPONENT);
}