emissionnebula commented on PR #13437: URL: https://github.com/apache/kafka/pull/13437#issuecomment-1512728910
@rondagostino - I have made changes to the immutable class tests for the methods that are not supported due to immutability such as `add`, `put`, etc. Earlier we were mocking the method of the underlying object even in case of add/put to return some value but ideally, those functions should be returning `UnsupportedOperationException`. I have changed those tests to check for the exception. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org