SfcGeniusServiceHandler { CompletableFuture<Void> interfaceStateDown(String interfaceName, BigInteger nodeId) { SfcGeniusDpnIfWriter dpnIfWriter = getDpnIfWriter(); SfcGeniusTsaWriter tsaWriter = getTsaWriter(); return dpnIfWriter.removeInterfaceFromDpn(nodeId, interfaceName).thenCompose( optionalOldDpn -> optionalOldDpn .map(tsaWriter::removeTerminatingServiceAction) .orElse(CompletableFuture.completedFuture(null)) ); } SfcGeniusServiceHandler(Map<BigInteger, Set<String>> dpnInterfaces,
                            ReadWriteTransaction transaction,
                            RpcProviderRegistry rpcProviderRegistry,
                            Executor executor);   }
@Test public void interfaceStateDown() throws Exception { }