@Test
public void testGetAllPolicy() {

	// Add a new Policy
	Policy policy = new Policy();
	policy.setId("id1");
	dataManager.addPolicy(policy);
	// Add a new Policy
	Policy policy2 = new Policy();
	policy2.setId("id2");
	dataManager.addPolicy(policy2);
	Set<String> policies = dataManager.getAllPolicy();
	assertNotNull("No policy found", policies);
	List<String> policyList = new ArrayList<String>();
	for (String policyStr : policies) {
		policyList.add(policyStr);
	}
	assertEquals("Auth count is correct", 2, policyList.size());
	assertTrue("Both Auths are found", (policyList.get(0).equals(policy.getId()) || policyList.get(0).equals(policy2.getId())) && (policyList.get(1).equals(policy.getId()) || policyList.get(1).equals(policy2.getId())));
	// cleanup
	dataManager.removePolicy(policy.getId());
	dataManager.removePolicy(policy2.getId());
}