Aaron Dossett created STORM-943:
-----------------------------------

             Summary: In TestHiveBolt make the collector mock slightly more 
precise
                 Key: STORM-943
                 URL: https://issues.apache.org/jira/browse/STORM-943
             Project: Apache Storm
          Issue Type: Improvement
          Components: external
            Reporter: Aaron Dossett
            Assignee: Aaron Dossett
            Priority: Trivial


The OutputCollector passed to bolt.prepare() can be mocked directly instead of 
mocking an IOutputCollector used to construct the collector each time. This 
makes the tests slightly more readable and it will be easier to verify more 
complex interactions with the collector in the future if needed.

Resolved by this PR: https://github.com/apache/storm/pull/583



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to