Broker contains duplicated mock object functionality and tests.
---------------------------------------------------------------

                 Key: QPID-1230
                 URL: https://issues.apache.org/jira/browse/QPID-1230
             Project: Qpid
          Issue Type: Task
          Components: Java Tests
    Affects Versions: M3
            Reporter: Martin Ritchie
            Priority: Minor


Summary:

As a result of QPID-1229 there is a large amount of duplication that we should 
resolve in our tests and mock objects.

AckTest and AcknowledgeTest

AckTest contains publishMessage as does BrokerBaseCase.
The version in AckTest registers a subscriber first but the BrokerBaseCase does 
not.

We have 10 anonymous implementations of MessagePublishInfo, this is a prime 
candidate for a mock object.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to