Skip to content

Commit

Permalink
Fix incompatible with caller stubbing
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Apr 19, 2018
1 parent 439f2a5 commit 7d22fc0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -186,7 +186,7 @@ public void testConsumeAndProduceTransactionRollback() throws Exception {
return null;
}).given(consumer).seek(any(), anyLong());
ConsumerFactory cf = mock(ConsumerFactory.class);
willReturn(consumer).given(cf).createConsumer("group", "");
willReturn(consumer).given(cf).createConsumer("group", null);
Producer producer = mock(Producer.class);
final CountDownLatch closeLatch = new CountDownLatch(1);
willAnswer(i -> {
Expand Down

0 comments on commit 7d22fc0

Please sign in to comment.