### Question:
BridgeOperationalState { @SuppressWarnings("IllegalCatch") public Optional<Node> getBridgeNode(InstanceIdentifier<?> iid) { InstanceIdentifier<Node> nodeIid = iid.firstIdentifierOf(Node.class); Optional<Node> bridgeNode = Optional.empty(); try (ReadTransaction transaction = db.newReadOnlyTransaction()) { bridgeNode = SouthboundUtil.readNode(transaction, nodeIid); } catch (Exception exp) { LOG.error("Error in getting the brideNode for {}", iid, exp); } return bridgeNode; } BridgeOperationalState(DataBroker db, DataChangeEvent changes);  BridgeOperationalState(DataBroker db, Collection<DataTreeModification<Node>> changes); @SuppressWarnings("IllegalCatch") Optional<Node> getBridgeNode(InstanceIdentifier<?> iid); Optional<OvsdbBridgeAugmentation> getOvsdbBridgeAugmentation(InstanceIdentifier<?> iid); Optional<TerminationPoint> getBridgeTerminationPoint(InstanceIdentifier<?> iid); Optional<OvsdbTerminationPointAugmentation> getOvsdbTerminationPointAugmentation(InstanceIdentifier<?> iid); Optional<ControllerEntry> getControllerEntry(InstanceIdentifier<?> iid); Optional<ProtocolEntry> getProtocolEntry(InstanceIdentifier<ProtocolEntry> iid);  }### Answer:
@Test public void testGetBridgeNode() { Optional<Node> optNodes = briOperationState.getBridgeNode(nodeIid); assertEquals(brNode, optNodes.get()); }