SfcIosXeUtils { static InstanceIdentifier<ServiceFfName> createRemoteSffIid(@Nonnull ServiceFfName sffName) { return InstanceIdentifier.builder(Native.class) .child(ServiceChain.class) .child(org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.service.chain.ServiceFunctionForwarder.class) .child(ServiceFfName.class, new ServiceFfNameKey(sffName.getName())).build(); }  static org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.service.chain.ServiceFunctionForwarder createLocalForwarder(
            IpAddress ipAddress); static ServiceFfName createRemoteForwarder(SffName sffName); static SfDataPlaneLocator getDplWithIpLocatorType(List<SfDataPlaneLocator> dataPlaneLocators);  }
@Test public void createRemoteSffIid() { ServiceFfNameBuilder serviceFfNameBuilder = new ServiceFfNameBuilder(); serviceFfNameBuilder.setName(forwarderName); InstanceIdentifier<ServiceFfName> firstResult = SfcIosXeUtils.createRemoteSffIid(serviceFfNameBuilder.build()); InstanceIdentifier<ServiceFfName> secondResult = SfcIosXeUtils.createRemoteSffIid(new SffName(forwarderName)); InstanceIdentifier<ServiceFfName> testIid = InstanceIdentifier.builder(Native.class).child(ServiceChain.class) .child(org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.service.chain.ServiceFunctionForwarder.class) .child(ServiceFfName.class, new ServiceFfNameKey(forwarderName)).build(); assertEquals(firstResult, testIid); assertEquals(secondResult, testIid); assertEquals(firstResult, secondResult); }