in src/it/java/com/epam/digital/data/platform/usrtaskmgt/controller/UserTaskControllerIT.java [74:80]
void shouldCountTasks_unauthorized() throws Exception {
mockBpmsGetTaskCount(401, "{\"message\":\"Unauthorized\"}");
var request = get("/api/task/count")
.accept(MediaType.APPLICATION_JSON_VALUE);
performWithTokenOfficerRole(request).andExpect(status().isUnauthorized());
}