Allow AttributeRegistry to signal treat-as-withdraw
[bgpcep.git] / bgp / parser-impl / src / test / java / org / opendaylight / protocol / bgp / parser / impl / message / update / CommunitiesAttributeParserTest.java
index 68c467671b746237c240be89ebd76dbc16ed65ad..16469850b7e91dbe90fb64de1b1b1357fa7029e7 100644 (file)
@@ -51,7 +51,7 @@ public class CommunitiesAttributeParserTest {
             .serializeAttribute(paBuilder.build(), actual);
         assertArrayEquals(CommunitiesBytes, ByteArray.getAllBytes(actual));
         final Attributes attributeOut = ServiceLoaderBGPExtensionProviderContext.getSingletonInstance()
-            .getAttributeRegistry().parseAttributes(actual, null);
+            .getAttributeRegistry().parseAttributes(actual, null).getAttributes();
         assertEquals(comms, attributeOut.getCommunities());
     }