import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
+
import io.netty.channel.nio.NioEventLoopGroup;
-import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import javax.management.ObjectName;
SimplePCEPExtensionProviderContext extContext = new SimplePCEPExtensionProviderContext();
setupMockService(PCEPExtensionProviderContext.class, extContext);
BasePCEPSessionProposalFactory proposalFactory = new BasePCEPSessionProposalFactory(120, 30,
- Arrays.asList(new PCEPStatefulCapability(true, true, true, true, true, true, true)));
+ Collections.singletonList(new PCEPStatefulCapability(true, true, true, true, true, true, true)));
setupMockService(PCEPSessionProposalFactory.class, proposalFactory);
NioEventLoopGroup eventLoopGroup = new NioEventLoopGroup();
setupMockService(PCEPDispatcher.class, new PCEPDispatcherImpl(extContext.getMessageHandlerRegistry(),