Searched refs:capture (Results 1 - 25 of 152) sorted by relevance

1234567

/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/
H A DUmaExceptionHandlerTest.java68 verify(response).setEntity(exceptionResponseCaptor.capture());
73 verify(response).setStatus(statusCaptor.capture());
97 verify(response).setEntity(exceptionResponseCaptor.capture());
102 verify(response).setStatus(statusCaptor.capture());
127 verify(response).setEntity(exceptionResponseCaptor.capture());
133 verify(response).setStatus(statusCaptor.capture());
/forgerock/openam/openam-uma/src/test/java/org/forgerock/openam/uma/
H A DUmaExceptionHandlerTest.java68 verify(response).setEntity(exceptionResponseCaptor.capture());
73 verify(response).setStatus(statusCaptor.capture());
97 verify(response).setEntity(exceptionResponseCaptor.capture());
102 verify(response).setStatus(statusCaptor.capture());
127 verify(response).setEntity(exceptionResponseCaptor.capture());
133 verify(response).setStatus(statusCaptor.capture());
/forgerock/openam/openam-notifications/src/test/java/org/forgerock/openam/notifications/
H A DInMemoryNotificationBrokerTest.java81 verify(executorService, times(CONSUMERS)).submit(readerCapture.capture());
87 verify(consumer).accept(notificationCapture.capture());
106 verify(executorService, times(CONSUMERS)).submit(readerCapture.capture());
126 verify(executorService, times(CONSUMERS)).submit(readerCapture.capture());
132 verify(consumer).accept(notificationCapture.capture());
148 verify(executorService, times(CONSUMERS)).submit(readerCapture.capture());
154 verify(consumer).accept(notificationCapture.capture());
209 verify(executorService, times(CONSUMERS)).submit(readerCapture.capture());
231 verify(executorService, times(CONSUMERS)).submit(readerCapture.capture());
255 verify(executorService, times(CONSUMERS)).submit(readerCapture.capture());
[all...]
/forgerock/openam/openam-notifications-websocket/src/test/java/org/forgerock/openam/notifications/websocket/
H A DNotificationsWebSocketTest.java124 verify(executorService).scheduleAtFixedRate(runnableCaptor.capture(), anyLong(), anyLong(),
155 verify(basic).sendObject(jsonCaptor.capture());
170 verify(basic).sendObject(jsonCaptor.capture());
184 verify(basic).sendObject(jsonCaptor.capture());
197 verify(basic).sendObject(jsonCaptor.capture());
211 verify(basic).sendObject(jsonCaptor.capture());
225 verify(basic).sendObject(jsonCaptor.capture());
238 verify(basic).sendObject(jsonCaptor.capture());
252 verify(basic).sendObject(jsonCaptor.capture());
267 verify(basic).sendObject(jsonCaptor.capture());
[all...]
/forgerock/openam-v13/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/resources/
H A DResourceSetLabelRegistrationTest.java71 verify(labelsStore).create(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
105 verify(labelsStore, times(2)).update(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
106 verify(labelsStore).create(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
133 verify(labelsStore, times(2)).update(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
155 verify(labelsStore, times(2)).update(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
157 verify(labelsStore, times(2)).delete(eq("REALM"), eq("RESOURCE_OWNER_ID"), deletedLabelsCaptor.capture());
178 verify(labelsStore).create(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/resources/
H A DResourceSetLabelRegistrationTest.java71 verify(labelsStore).create(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
105 verify(labelsStore, times(2)).update(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
106 verify(labelsStore).create(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
133 verify(labelsStore, times(2)).update(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
155 verify(labelsStore, times(2)).update(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
157 verify(labelsStore, times(2)).delete(eq("REALM"), eq("RESOURCE_OWNER_ID"), deletedLabelsCaptor.capture());
178 verify(labelsStore).create(eq("REALM"), eq("RESOURCE_OWNER_ID"), labelCaptor.capture());
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/
H A DRealmContextFilterTest.java117 verify(handler).handle(contextCaptor.capture(), eq(request));
136 verify(handler).handle(contextCaptor.capture(), eq(request));
172 verify(handler).handle(contextCaptor.capture(), eq(request));
192 verify(handler).handle(contextCaptor.capture(), eq(request));
212 verify(handler).handle(contextCaptor.capture(), eq(request));
232 verify(handler).handle(contextCaptor.capture(), eq(request));
253 verify(handler).handle(contextCaptor.capture(), eq(request));
272 verify(handler).handle(contextCaptor.capture(), eq(request));
292 verify(handler).handle(contextCaptor.capture(), eq(request));
329 verify(handler).handle(contextCaptor.capture(), e
[all...]
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/
H A DRealmContextFilterTest.java128 verify(handler).handle(contextCaptor.capture(), eq(request));
148 verify(handler).handle(contextCaptor.capture(), eq(request));
185 verify(handler).handle(contextCaptor.capture(), eq(request));
206 verify(handler).handle(contextCaptor.capture(), eq(request));
226 verify(handler).handle(contextCaptor.capture(), eq(request));
247 verify(handler).handle(contextCaptor.capture(), eq(request));
268 verify(handler).handle(contextCaptor.capture(), eq(request));
288 verify(handler).handle(contextCaptor.capture(), eq(request));
309 verify(handler).handle(contextCaptor.capture(), eq(request));
347 verify(handler).handle(contextCaptor.capture(), e
[all...]
H A DRealmRoutingFactoryTest.java83 verify(next).handle(contextCaptor.capture(), eq(request));
101 verify(next).handle(contextCaptor.capture(), eq(request));
122 verify(next).handle(contextCaptor.capture(), eq(request));
158 verify(next).handleAction(contextCaptor.capture(), any(ActionRequest.class));
180 verify(next).handleAction(contextCaptor.capture(), any(ActionRequest.class));
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/query/
H A DQueryByStringFilterConverterTest.java62 verify(mockConverter, times(1)).visitAndFilter(any(Void.class), captor.capture());
82 verify(mockConverter, times(1)).visitOrFilter(any(Void.class), captor.capture());
105 verify(mockConverter, times(1)).visitAndFilter(any(Void.class), andCaptor.capture());
108 verify(mockConverter, times(2)).visitOrFilter(any(Void.class), orCaptor.capture());
/forgerock/openam-v13/openam-sts/openam-soap-sts/openam-soap-sts-server/src/test/java/org/forgerock/openam/sts/soap/audit/
H A DAuditEventPublisherTest.java72 given(httpURLConnectionWrapperFactory.httpURLConnectionWrapper(urlCaptor.capture())).willReturn(httpURLConnectionWrapper);
120 given(httpURLConnectionWrapper.setRequestHeaders(headersCaptor.capture())).willReturn(httpURLConnectionWrapper);
121 given(httpURLConnectionWrapper.setRequestMethod(methodCaptor.capture())).willReturn(httpURLConnectionWrapper);
122 given(httpURLConnectionWrapper.setRequestPayload(payloadCaptor.capture())).willReturn(httpURLConnectionWrapper);
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/query/
H A DQueryByStringFilterConverterTest.java62 verify(mockConverter, times(1)).visitAndFilter(any(Void.class), captor.capture());
82 verify(mockConverter, times(1)).visitOrFilter(any(Void.class), captor.capture());
105 verify(mockConverter, times(1)).visitAndFilter(any(Void.class), andCaptor.capture());
108 verify(mockConverter, times(2)).visitOrFilter(any(Void.class), orCaptor.capture());
/forgerock/openam/openam-sts/openam-soap-sts/openam-soap-sts-server/src/test/java/org/forgerock/openam/sts/soap/audit/
H A DAuditEventPublisherTest.java72 given(httpURLConnectionWrapperFactory.httpURLConnectionWrapper(urlCaptor.capture())).willReturn(httpURLConnectionWrapper);
120 given(httpURLConnectionWrapper.setRequestHeaders(headersCaptor.capture())).willReturn(httpURLConnectionWrapper);
121 given(httpURLConnectionWrapper.setRequestMethod(methodCaptor.capture())).willReturn(httpURLConnectionWrapper);
122 given(httpURLConnectionWrapper.setRequestPayload(payloadCaptor.capture())).willReturn(httpURLConnectionWrapper);
/forgerock/openam-v13/openam-oauth2-common/oauth2-restlet/src/test/java/org/forgerock/oauth2/restlet/resources/
H A DResourceSetRegistrationExceptionFilterTest.java92 verify(response).setEntity(exceptionResponseCaptor.capture());
114 verify(response).setEntity(exceptionResponseCaptor.capture());
137 verify(response).setEntity(exceptionResponseCaptor.capture());
142 verify(response).setStatus(statusCaptor.capture());
165 verify(response).setEntity(exceptionResponseCaptor.capture());
170 verify(response).setStatus(statusCaptor.capture());
/forgerock/openam/openam-notifications-integration/src/test/java/org/forgerock/openam/notifications/brokers/
H A DCTSNotificationBrokerTest.java143 verify(store).createAsync(tokenCaptor.capture());
165 verify(store).createAsync(tokenCaptor.capture());
184 verify(store).createAsync(tokenCaptor.capture());
198 verify(store).createAsync(tokenCaptor.capture());
211 verify(localBroker).publish(eq(Topic.of("test-topic")), jsonValueCaptor.capture());
285 verify(store).addContinuousQueryListener(listenerCaptor.capture(), filterCaptor.capture());
295 verify(executorService).scheduleAtFixedRate(publisherTaskCaptor.capture(), anyLong(), anyLong(),
301 verify(store).addContinuousQueryListener(listenerCaptor.capture(), any(TokenFilter.class));
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/utils/
H A DShutdownMonitorTest.java39 verify(shutdownManagerWrapper).addShutdownListener(captor.capture());
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/xui/
H A DXUIFilterTest.java76 verify(responseLogin).sendRedirect(captor.capture());
109 verify(responseLogin).sendRedirect(captor.capture());
130 verify(responseLogout).sendRedirect(captor.capture());
149 verify(responseEndUser).sendRedirect(captor.capture());
/forgerock/openam-v13/openam-upgrade/src/test/java/org/forgerock/openam/upgrade/steps/
H A DRemoveReferralsStepTest.java167 verify(resourceTypeService).saveResourceType(isA(Subject.class), eq("/a"), resourceTypeCaptor.capture());
168 verify(applicationService).saveApplication(isA(Subject.class), eq("/a"), applicationCaptor.capture());
169 verify(policyService).modify(policyCaptor.capture());
184 verify(connection).delete(deleteRequestCaptor.capture());
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/utils/
H A DShutdownMonitorTest.java39 verify(shutdownManagerWrapper).addShutdownListener(captor.capture());
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/xui/
H A DXUIFilterTest.java77 verify(responseLogin).sendRedirect(captor.capture());
111 verify(responseLogin).sendRedirect(captor.capture());
133 verify(responseLogout).sendRedirect(captor.capture());
153 verify(responseEndUser).sendRedirect(captor.capture());
/forgerock/openam/openam-upgrade/src/test/java/org/forgerock/openam/upgrade/steps/
H A DRemoveReferralsStepTest.java169 verify(resourceTypeService).saveResourceType(isA(Subject.class), eq("/a"), resourceTypeCaptor.capture());
170 verify(applicationService).saveApplication(applicationCaptor.capture());
171 verify(policyService).modify(policyCaptor.capture());
186 verify(connection).delete(deleteRequestCaptor.capture());
/forgerock/openam-v13/openam-oauth2-common/oauth2-restlet/src/test/java/org/forgerock/openam/oauth2/
H A DAccessTokenProtectionFilterTest.java104 verify(resp).setStatus(statusCaptor.capture());
154 verify(resp).setStatus(statusCaptor.capture());
179 verify(resp).setStatus(statusCaptor.capture());
204 verify(resp).setStatus(statusCaptor.capture());
225 verify(resp).setStatus(statusCaptor.capture());
/forgerock/openam-v13/openam-tools/build-helper-plugin/src/test/java/org/forgerock/maven/plugins/inject/content/
H A DInjectContentTest.java109 verify(ioFactory).writeContent(eq(tmpFileWriter), eq(contentFile), contentConverterCaptor.capture());
150 verify(ioFactory).writeContent(eq(tmpFileWriter), eq(contentFile), contentConverterCaptor.capture());
154 verify(ioFactory).writeContent(eq(tmpFileWriter), eq(contentFile2), contentConverterCaptor.capture());
243 verify(ioFactory).writeContent(eq(tmpFileWriterOne), eq(contentFileOne), contentConverterCaptor.capture());
254 verify(ioFactory).writeContent(eq(tmpFileWriterTwo), eq(contentFileTwo), contentConverterCaptor.capture());
/forgerock/opendj-v3/opendj-config/src/test/java/org/forgerock/opendj/config/server/
H A DListenerTest.java95 verify(configRepository).registerAddListener(eq(TEST_PARENTS_DN), registered.capture());
109 verify(configRepository).registerAddListener(eq(ROOT_CONFIG_DN), registered.capture());
137 verify(configRepository).registerAddListener(eq(ROOT_CONFIG_DN), registered.capture());
159 verify(configRepository).registerAddListener(eq(ROOT_CONFIG_DN), registered.capture());
211 verify(configRepository).registerAddListener(eq(ROOT_CONFIG_DN), argument.capture());
/forgerock/openam/openam-tools/build-helper-plugin/src/test/java/org/forgerock/maven/plugins/inject/content/
H A DInjectContentTest.java109 verify(ioFactory).writeContent(eq(tmpFileWriter), eq(contentFile), contentConverterCaptor.capture());
150 verify(ioFactory).writeContent(eq(tmpFileWriter), eq(contentFile), contentConverterCaptor.capture());
154 verify(ioFactory).writeContent(eq(tmpFileWriter), eq(contentFile2), contentConverterCaptor.capture());
243 verify(ioFactory).writeContent(eq(tmpFileWriterOne), eq(contentFileOne), contentConverterCaptor.capture());
254 verify(ioFactory).writeContent(eq(tmpFileWriterTwo), eq(contentFileTwo), contentConverterCaptor.capture());

Completed in 308 milliseconds

1234567