/*
* Copyright (c) 2016 Huawei Technologies and others. All rights reserved.
- *
+ *
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
import static org.junit.Assert.assertTrue;
-import java.util.concurrent.ScheduledExecutorService;
-
+import java.util.concurrent.Executor;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.endpoint.rev140421.endpoints.Endpoint;
private Endpoint expectedEndpoint;
public MockFaasEndpointManagerListener(FaasPolicyManager policyManager, DataBroker dataProvider,
- ScheduledExecutorService executor) {
+ Executor executor) {
super(policyManager, dataProvider, executor);
}
// *******************************************************
@Override
protected void processEndpoint(Endpoint endpoint) {
- if (expectedEndpoint != null)
+ if (expectedEndpoint != null) {
assertTrue("FaasEndpointManagerListener.processEndpoint", expectedEndpoint.equals(endpoint));
+ }
}
// *******************************************************