vvcephei commented on pull request #9478: URL: https://github.com/apache/kafka/pull/9478#issuecomment-714562224
Thanks for this, @thake! I'm wondering if this is the right direction to go here. In a real Streams application, as well as in MockProcessorContext and TopologyTestDriver, the context serdes can never be null, so it seems to be a problem only for EasyMock tests. It's not that "easy" to begin with to set up an EasyMock of a context for testing Streams components because the set of required interactions is both non-trivial and an internal detail. That's why we offer the MockProcessorContext, which provides default behavior that should be suitable for most tests and still lets you capture and assert the things you'd need to assert. Have I misunderstood the problem here? Thanks, -John ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org