BUG-54 : switched channel pipeline to be protocol specific.
[bgpcep.git] / bgp / parser-impl / src / test / java / org / opendaylight / protocol / bgp / parser / impl / ComplementaryTest.java
index 29d68d6679c3737b2217ce499d83238251554761..fb3703d16263974739bb2ab2fba58d1097885357 100644 (file)
@@ -190,7 +190,7 @@ public class ComplementaryTest {
 
        @Test
        public void testBGPHeaderParser() throws IOException {
-               final BGPMessageFactory h = new BGPMessageFactory();
+               final BGPMessageFactoryImpl h = new BGPMessageFactoryImpl();
                try {
                        h.parse(new byte[] { (byte) 0, (byte) 0 });
                        fail("Exception should have occured.");
@@ -219,7 +219,7 @@ public class ComplementaryTest {
 
        @Test
        public void testMessageParser() throws IOException {
-               final BGPMessageFactory parser = new BGPMessageFactory();
+               final BGPMessageFactoryImpl parser = new BGPMessageFactoryImpl();
                String ex = "";
                try {
                        parser.put(null);