@Test
public void cancelConvocationOk() throws Exception {

    Set<Right> rights = Collections.singleton(Right.CONVOCATION_DEPOSIT);
    mockMvc.perform(put("/api/convocation/convocation-uuid-one/cancel")
            .requestAttr("STELA-Current-Profile-Rights", rights)
            .requestAttr("STELA-Current-Local-Authority-UUID", "mairie-test")
            .requestAttr("STELA-Current-Profile-UUID", "profile-one"))
            .andExpect(status().isOk());
    verify(convocationService).cancelConvocation(any());
}