@Test
public void createPolicyTest() throws Exception{

	WebResource webResource = resource();
	String policyStr = getPolicyContent();
	ClientResponse response = webResource.path("/apps/" + TESTAPPID + "/policy").type(MediaType.APPLICATION_JSON).put(ClientResponse.class,policyStr);
       assertEquals(response.getStatus(), STATUS200);
}