[
https://issues.apache.org/jira/browse/KAFKA-9088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16964422#comment-16964422
]
Sophie Blee-Goldman commented on KAFKA-9088:
--------------------------------------------
It's still pretty awkward to make users initialize stores when unit testing,
especially since we explicitly forbid and prevent them from doing so in "real"
code. But I've been thinking, regardless of how we want to solve the store unit
testing problem we should go ahead and put the new MockInternalProcessorContext
(or whatever it'll be called) in the test-utils package. It doesn't seem that
unlikely we might want or need it for something else in the future, given how
ubiquitous the processor context is
> Consolidate InternalMockProcessorContext and MockInternalProcessorContext
> -------------------------------------------------------------------------
>
> Key: KAFKA-9088
> URL: https://issues.apache.org/jira/browse/KAFKA-9088
> Project: Kafka
> Issue Type: Improvement
> Components: streams, unit tests
> Reporter: Bruno Cadonna
> Priority: Minor
> Labels: newbie
>
> Currently, we have two mocks for the {{InternalProcessorContext}}. The goal
> of this ticket is to merge both into one mock or replace it with an
> {{EasyMock}} mock.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)