Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. @Test
  2. // public void delete(){
  3. // RestConnector connector = new RestConnectorFactory().jwt(jwt).build();
  4. //
  5. // try {
  6. // Map<String,Object> body = new HashMap<>();
  7. // body.put("idFornitura", "11111");
  8. // body.put("idFattura", "11111");
  9. // String response = connector.delete(url + "/v1/cache/clear/", body, String.class);
  10. // System.out.println("Response: " + response);
  11. // org.junit.Assert.assertNotNull(response);
  12. // } catch (RestConnectorException e) {
  13. // e.printStackTrace();
  14. // org.junit.Assert.fail();
  15. // } catch (RestExecutionException e) {
  16. // e.printStackTrace();
  17. // org.junit.Assert.fail();
  18. // }
  19. //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement