I have wrote an integration for testing a delete function like as shown below
@Test void deleteUsersTest() { Map params = new HashMa