- private NotificationPublishService notificationPublishService;
- private NetworkTransactionImpl networkTransaction;
- private RequestProcessor requestProcessor;
- private ObjectRegistration<TransportpcePceService> rpcRegistration;
- private PceProvider pceProvider;
-
- @Before
- public void setUp() {
- rpcService = Mockito.mock(RpcProviderService.class);
- notificationPublishService = new NotificationPublishServiceMock();
- requestProcessor = Mockito.mock(RequestProcessor.class);
- networkTransaction = new NetworkTransactionImpl(requestProcessor);
- pathComputationService = new PathComputationServiceImpl(networkTransaction, notificationPublishService,
- null, null);
- pceProvider = new PceProvider(rpcService, pathComputationService);
- }