Fix test failures in NetconfClientDispatcherModuleTest 42/38042/1
authorTom Pantelis <tpanteli@brocade.com>
Sun, 24 Apr 2016 05:12:57 +0000 (01:12 -0400)
committerTom Pantelis <tpanteli@brocade.com>
Sun, 24 Apr 2016 05:12:57 +0000 (01:12 -0400)
commit2ed7988023851154ffd718b870e7b97eecae4886
tree12a815ecd43f8ba81ad337356118df10d375e8e5
parentf0821760fcf5054e0e0e8cfd3453e7cf10252757
Fix test failures in NetconfClientDispatcherModuleTest

The implementations of NettyThreadgroupModule and NettyThreadgroupModule
HashedWheelTimerModule in the controller were recently changed - they
now obtain the service instance via the OSGi service registry therefore
several BundleContext methods must be mocked appropriately.

Change-Id: I83c77b0e5199ba73f4fd9e9d3f5ae93a0222f7a7
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
netconf/netconf-config-dispatcher/src/test/java/org/opendaylight/controller/config/yang/config/netconf/client/dispatcher/NetconfClientDispatcherModuleTest.java