use of org.opendaylight.openflowplugin.api.openflow.translator.TranslatorLibrarian in project openflowplugin by opendaylight.
the class MultipartReplyTranslatorUtilTest method setUp.
@Before
public void setUp() throws Exception {
when(deviceInfo.getVersion()).thenReturn(OFConstants.OFP_VERSION_1_3);
translatorLibrarian = new TranslatorLibrarian() {
private TranslatorLibrary translatorLibrary;
@Override
public TranslatorLibrary oook() {
return translatorLibrary;
}
@Override
public void setTranslatorLibrary(final TranslatorLibrary translatorLibrary) {
this.translatorLibrary = translatorLibrary;
}
};
TranslatorLibraryUtil.injectBasicTranslatorLibrary(translatorLibrarian, convertorExecutor);
}
Aggregations