@Test
@WithMockWebAuthnUser(id = 1, firstName = "John", lastName = "Doe", emailAddress = "john.doe@example.com", authorities = {"ROLE_USER"}, authenticators = {})

public void delete_test() throws Exception {
    //When
    mvc.perform(
            delete("/api/profile")
                    .with(SecurityMockMvcRequestPostProcessors.csrf())
    )
            //Then
            .andExpect(status().isOk());
    verify(profileAppService).delete(anyInt());
}