@Test
public void testGetBgpPeers() throws FileNotFoundException, IOException, ParseException {

	testInitialize();
	BgpPeers actualBgpPeers = null;
	BgpPeers expectedBgpPeers = null;
	List<BgpPeer> bgpPeerList = new ArrayList<BgpPeer>();
	BgpPeerBuilder bgpPeerBuilder = new BgpPeerBuilder();
	BgpPeersBuilder bgpPeersBuilder = new BgpPeersBuilder();
	JSONArray bgpPeers = (JSONArray) jsonObject.get("bgpPeers");
	Iterator<JSONObject> bgpIterator = bgpPeers.iterator();
	while (bgpIterator.hasNext()) {
		JSONObject bgpPeer = (JSONObject) bgpIterator.next();
		String dpId = AtriumUtils.hexDpidStringToOpenFlowDpid((String) bgpPeer.get("attachmentDpid"));
		bgpPeerBuilder.setPeerDpId(NodeId.getDefaultInstance(dpId));
		String attachmentPort = (String) bgpPeer.get("attachmentPort");
		bgpPeerBuilder.setPeerPort(Long.valueOf(attachmentPort));
		String ipAddress = (String) bgpPeer.get("ipAddress");
		IpAddress ip = new IpAddress(Ipv4Address.getDefaultInstance(ipAddress));
		bgpPeerBuilder.setPeerAddr(ip);
		bgpPeerBuilder.setKey(new BgpPeerKey(ip));
		bgpPeerList.add(bgpPeerBuilder.build());
	}
	bgpPeersBuilder.setBgpPeer(bgpPeerList);
	expectedBgpPeers = bgpPeersBuilder.build();
	actualBgpPeers = ConfigReader.getBgpPeer();
	assertEquals(expectedBgpPeers, actualBgpPeers);
}