Allow AttributeRegistry to signal treat-as-withdraw
[bgpcep.git] / bgp / extensions / mvpn / src / test / java / org / opendaylight / protocol / bgp / mvpn / impl / attributes / PEDistinguisherLabelsAttributeHandlerTest.java
index 8831a686cd9053d1fe07c293b8ac8aaafb7960a2..da5309e7f50b96f777de7bae4fda95bcdd01cf5f 100644 (file)
@@ -68,7 +68,7 @@ public final class PEDistinguisherLabelsAttributeHandlerTest {
         this.handler.serializeAttribute(expected, actual);
         assertArrayEquals(PE_DISTINGUISHER_LABELS, ByteArray.readAllBytes(actual));
         final Attributes actualAttr = this.handler.parseAttributes(
-                Unpooled.wrappedBuffer(PE_DISTINGUISHER_LABELS), null);
+                Unpooled.wrappedBuffer(PE_DISTINGUISHER_LABELS), null).getAttributes();
         assertEquals(expected, actualAttr);
     }