-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unifiedsearch indexer #37
Conversation
e22cdc5
to
89ca1de
Compare
d8ebd40
to
2c35863
Compare
public class IndexQueryApi { | ||
|
||
@Inject | ||
Requester requester; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be private
|
||
when(repository.findBy(indexId)).thenReturn(new Index(indexId, deliveryDate)); | ||
|
||
IndexView view = service.findIndexBy(indexId.toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final :-)
|
||
when(repository.findBy(any(UUID.class))).thenReturn(null); | ||
|
||
IndexView view = service.findIndexBy(UUID.randomUUID().toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final :-)
2c35863
to
d9b037f
Compare
No description provided.