### Question:
OvsdbHelper { public static List<TerminationPoint> buildTerminationPoints(OvsdbBridgeAugmentation bridge, OvsdbTerminationPointAugmentation ovsdbTp, AbstractTunnelType tunnelType) { TerminationPointBuilder tpBuilder = new TerminationPointBuilder(); tpBuilder.setTpId(new TpId(new Uri(generateTpName(bridge, tunnelType)))); tpBuilder.addAugmentation(OvsdbTerminationPointAugmentation.class, ovsdbTp); List<TerminationPoint> tps = new ArrayList<TerminationPoint>(); tps.add(tpBuilder.build()); return tps; }  static OvsdbBridgeAugmentation getOvsdbBridgeFromTerminationPoint(
            InstanceIdentifier<OvsdbTerminationPointAugmentation> tpIid, DataBroker dataBroker); static Node getNodeFromBridgeRef(OvsdbBridgeRef bridgeRef, DataBroker dataBroker); static OvsdbTerminationPointAugmentation getOvsdbTerminationPoint(
            InstanceIdentifier<OvsdbTerminationPointAugmentation> tpIid, DataBroker dataBroker); static Node getNode(Node node, List<TerminationPoint> tps,
            OvsdbBridgeAugmentation ovsdbBridgeAugmentation); static OvsdbBridgeAugmentation buildOvsdbBridgeAugmentation(OvsdbBridgeAugmentation bridge,
            OvsdbNodeAugmentation ovsdbNode); static List<TerminationPoint> buildTerminationPoints(OvsdbBridgeAugmentation bridge,
            OvsdbTerminationPointAugmentation ovsdbTp, AbstractTunnelType tunnelType); static String generateTpName(OvsdbBridgeAugmentation bridge, AbstractTunnelType tunnelType); static OvsdbTerminationPointAugmentation buildOvsdbTerminationPointAugmentation(
            OvsdbBridgeAugmentation bridge, List<Options> options, AbstractTunnelType tunnelType); static void setOption(List<Options> options, String key, String value); static IpAddress getManagerIp(OvsdbNodeAugmentation ovsdbNode); static IpAddress getNodeIp(OvsdbNodeAugmentation ovsdbNode); static List<ControllerEntry> buildControllerEntries(IpAddress ip); static OvsdbNodeAugmentation getManagerNode(OvsdbBridgeAugmentation bridge, DataBroker dataBroker); static Node getTopologyNode(InstanceIdentifier<Node> nodeIid, DataBroker dataBroker); static void createTunnelPort(InstanceIdentifier<Node> nodeIid,
            Node node, AbstractTunnelType tunnelType, DataBroker dataBroker);  }### Answer:
@Test public void testBuildTerminationPoints() { OvsdbBridgeAugmentationBuilder bridgeAugmentationBuilder = new OvsdbBridgeAugmentationBuilder(); bridgeAugmentationBuilder.setBridgeName(new OvsdbBridgeName("bridgeName")); List<Options> options = new ArrayList<>(); OvsdbHelper.setOption(options, "optionKey", "optionValue"); OvsdbTerminationPointAugmentation terminationPointAugmentation = OvsdbHelper .buildOvsdbTerminationPointAugmentation(bridgeAugmentationBuilder.build(), options, abstractTunnelType); List<TerminationPoint> terminationPoints = OvsdbHelper.buildTerminationPoints(bridgeAugmentationBuilder.build(), terminationPointAugmentation, abstractTunnelType); assertNotNull(terminationPoints); assertEquals(1, terminationPoints.size()); TerminationPoint terminationPoint = terminationPoints.get(0); assertNotNull(terminationPoint); assertEquals(TUNNEL_PREFIX + "bridgeName", terminationPoint.getTpId().getValue()); OvsdbTerminationPointAugmentation tpAugmentation = terminationPoint.getAugmentation(OvsdbTerminationPointAugmentation.class); assertNotNull(tpAugmentation); assertEquals(TUNNEL_PREFIX + "bridgeName", tpAugmentation.getName()); assertEquals(1, tpAugmentation.getOptions().size()); Options tpOption = tpAugmentation.getOptions().get(0); assertNotNull(tpOption); assertEquals("optionKey", tpOption.getOption()); assertEquals("optionValue", tpOption.getValue()); assertEquals(TerminationPoint.class, terminationPoint.getImplementedInterface()); }