Searched defs:auditEventCaptor (Results 1 - 2 of 2) sorted by relevance

/forgerock/openam-v13/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/
H A DAuditEventPublisherImplTest.java64 private ArgumentCaptor<JsonValue> auditEventCaptor; field in class:AuditEventPublisherImplTest
74 auditEventCaptor = ArgumentCaptor.forClass(JsonValue.class);
85 any(Context.class), eq("access"), auditEventCaptor.capture())).thenReturn(dummyPromise);
92 assertThat(auditEventCaptor.getValue()).isEqualTo(auditEvent.getValue());
111 any(Context.class), eq("access"), auditEventCaptor.capture())).thenReturn(dummyPromise);
127 assertThat(auditEventCaptor.getValue()).isEqualTo(auditEvent.getValue());
/forgerock/openam/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/
H A DAuditEventPublisherImplTest.java64 private ArgumentCaptor<JsonValue> auditEventCaptor; field in class:AuditEventPublisherImplTest
74 auditEventCaptor = ArgumentCaptor.forClass(JsonValue.class);
85 any(Context.class), eq("access"), auditEventCaptor.capture())).thenReturn(dummyPromise);
92 assertThat(auditEventCaptor.getValue()).isEqualTo(auditEvent.getValue());
111 any(Context.class), eq("access"), auditEventCaptor.capture())).thenReturn(dummyPromise);
127 assertThat(auditEventCaptor.getValue()).isEqualTo(auditEvent.getValue());

Completed in 27 milliseconds