rendered paste body
public void testAddingIfs() throws Exception {
addIfTable();
createSnmpInterface(1, 24, "lo0", CollectionType.PRIMARY);
createSnmpInterface(2, 55, "gif0", CollectionType.SECONDARY);
createSnmpInterface(3, 57, "stf0", CollectionType.COLLECT);
SnmpIfCollector collector = createSnmpIfCollector();
waitForSignal();
assertInterfaceMibObjectsPresent(collector.getCollectionSet());
createSnmpInterface(4, 59, "fsck0", CollectionType.COLLECT);
assertInterfaceMibObjectsPresent(collector.getCollectionSet());
}