Rework BGPSessionImpl test 54/35554/5
authorMilos Fabian <milfabia@cisco.com>
Mon, 29 Feb 2016 15:23:32 +0000 (16:23 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 4 Mar 2016 01:12:30 +0000 (01:12 +0000)
commitf719f504798d90cd4a36ebf1d380cf87cfa0bd95
treec347c8ba783a3a884cb0a66fbb3d6eebe42cb649
parent2bfe3f6fa8aa2e8aff3397e39908c0842c54e925
Rework BGPSessionImpl test

Use Embedded Channel instead of mocking it.
Added simple channel handler for written message
collection.

Change-Id: I90e9906be61d02c8dd3636f8d881d6e9b7a3bd3d
Signed-off-by: Milos Fabian <milfabia@cisco.com>
bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/BGPSessionImplTest.java