LibInfoCheckerImpl extends BaseLibConsult implements LibInfoChecker { @Override public Element getSpecificUsedYangModules(String moduleName, String revisionDate, Document responseDoc) { YangReferenceInfo filterModule = new YangReferenceInfo(moduleName, revisionDate); return getUsedYangModules(responseDoc, filterModule); } LibInfoCheckerImpl(AdapterManager adapterManager, DeviceManager deviceManager, PmaRegistry pmaRegistry); @Override Element getSpecificUsedYangModules(String moduleName, String revisionDate, Document responseDoc); @Override Element getAllUsedYangModules(Document responseDoc); @Override Element getUsedYangModulesPerDevice(Document responseDoc, String devName);  }
@Test public void getSpecificUsedYangModuleBbfFiber() throws Exception { executeLibCheckTest("get-specific-used-yang-module-bbf-fiber-response.xml", document -> libInfoChecker.getSpecificUsedYangModules( "bbf-fiber", "2016-09-08", document)); }
@Test public void getSpecificUsedYangModuleBbfFast() throws Exception { executeLibCheckTest("get-specific-used-yang-module-bbf-fast-response.xml", document -> libInfoChecker.getSpecificUsedYangModules( "bbf-fast", "2017-03-13", document)); }
@Test public void getSpecificUsedYangModuleWithInvalidYang() throws Exception { executeLibCheckTest("get-used-yang-module-empty-response.xml", document -> libInfoChecker.getSpecificUsedYangModules( "invalid-yang", "2016-09-08", document)); }