use of org.opendaylight.yangtools.concepts.Builder in project bgpcep by opendaylight.
the class AbstractBmpPerPeerMessageParserTest method setUp.
@Before
public void setUp() {
this.ctx = ServiceLoaderBGPExtensionProviderContext.getSingletonInstance();
final MessageRegistry msgRegistry = this.ctx.getMessageRegistry();
this.parser = new AbstractBmpPerPeerMessageParser<Builder<?>>(msgRegistry) {
@Override
public Notification parseMessageBody(final ByteBuf bytes) {
return null;
}
@Override
public int getBmpMessageType() {
return 0;
}
};
}
Aggregations