@Test
 public void shouldUpdateRole() {
   role.setRights(new HashSet<>(asList(CREATE_REQUISITION)));
   roleRightsService.updateRole(role);
   verify(roleRightsRepository).updateRole(role);
 }
 @Test
 public void shouldSaveRole() throws Exception {
   role.setRights(new HashSet<>(asList(CREATE_REQUISITION, VIEW_REQUISITION)));
   roleRightsService.saveRole(role);
   verify(roleRightsRepository).createRole(role);
 }