Skip to content

Commit

Permalink
fake
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed May 4, 2023
1 parent 3840661 commit 86f8da6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/java/io/github/eocqrs/kafka/fake/FkConsumerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ public void onPartitionsAssigned(final Collection<TopicPartition> partitions) {
UnsupportedOperationException.class,
() -> consumer.iterate("123", Duration.ofMillis(100L))
);
assertThrows(
UnsupportedOperationException.class,
consumer::unsubscribe
);
assertThrows(
UnsupportedOperationException.class,
consumer::close
Expand Down

0 comments on commit 86f8da6

Please sign in to comment.