/** tags verification */
  @Test(groups = "wso2.greg", description = "tags verification")
  public void testAddPolicy()
      throws RemoteException, ResourceAdminServiceExceptionException, GovernanceException,
          MalformedURLException {

    policy =
        policyManager.newPolicy(
            "https://svn.wso2.org/repos/wso2/carbon/platform/trunk/"
                + "platform-integration/platform-automated-test-suite/"
                + "org.wso2.carbon.automation.test.repo/src/main/"
                + "resources/artifacts/GREG/policy/policy.xml");

    policy.addAttribute("version", "1.0.0");
    policy.addAttribute("author", "Aparna");
    policy.addAttribute("description", "added policy using url");
    policyManager.addPolicy(policy);

    assertFalse(policy.getId().isEmpty());
    assertNotNull(policy);
    assertTrue(policy.getAttribute("author").contentEquals("Aparna"));
  }