Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix broken UT after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
vigyasharma committed Jul 29, 2020
1 parent 77a2e23 commit 7b6e95f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public void testIsCooledOff() throws Exception {
publisher.operate();
Mockito.verify(actionListener, Mockito.times(1)).actionPublished(action);
Mockito.reset(action);
Mockito.reset(actionListener);
// Verify that a publisher doesn't execute a previously executed action until the action's cool off period
// has elapsed
Mockito.when(action.coolOffPeriodInMillis()).thenReturn(3000L);
Expand Down

0 comments on commit 7b6e95f

Please sign in to comment.