Skip to content

Commit

Permalink
[CST-18963] Fixes checksyle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vins01-4science committed Feb 21, 2025
1 parent 117457c commit 45cbeea
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@ public void testHandleBitstreamViewEvent() throws SQLException {
Mockito.when(event.getAction()).thenReturn(UsageEvent.Action.VIEW);

Bitstream bitstream = Mockito.spy(Bitstream.class);
Mockito.when(bitstreamService.isInBundle(Mockito.eq(bitstream), Mockito.eq(Set.of(Constants.CONTENT_BUNDLE_NAME))))
.thenReturn(true);
Mockito.when(
bitstreamService.isInBundle(
Mockito.eq(bitstream),
Mockito.eq(Set.of(Constants.CONTENT_BUNDLE_NAME))
)
).thenReturn(true);

Mockito.when(event.getObject()).thenReturn(bitstream);

Expand Down

0 comments on commit 45cbeea

Please sign in to comment.