Fixed incorrect mocking of bundle context. 51/4651/1
authorTony Tkacik <ttkacik@cisco.com>
Thu, 23 Jan 2014 14:04:34 +0000 (15:04 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Thu, 23 Jan 2014 14:05:59 +0000 (15:05 +0100)
commit7081c0cef8b25df0402900a9e94af212de1fb44d
treea03311620535e670898163eab101e6bddfd0ac48
parente4c84e091f3daa7f7a54b3d80cb956c7497be94b
Fixed incorrect mocking of bundle context.

Mock of bundle context did not adhere to contract
   ServiceReference<T> getServiceReference(T)
   T getService(ServiceReference<T>)
   which caused class cast exception.

Change-Id: I2500d6f30aa01b68f002e87c19ba6a4d17cb393c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
bgp/rib-impl-config/src/test/java/org/opendaylight/controller/config/yang/bgp/rib/impl/RIBImplModuleTest.java