@SneakyThrows
@Test
void changePublicProfileTest() {

    mvc.perform(post("/user/publicProfile")
        .contentType(MediaType.APPLICATION_JSON)
        .accept(MediaType.APPLICATION_JSON)
        .characterEncoding("UTF-8")
        .content(Fixture.read("endpoints/public_profile.json"))
        .header("user", TEST_USER)
        .header("password", TEST_PASS)
        .header("token", token)
    )
        .andExpect(status().isOk());
    verify(userProfile).updatePublicProfile(
        eq(new UserIDAuth(TEST_USER, TEST_PASS)),
        any()
    );
}