in ddm-notification-service-inbox/src/it/java/com/epam/digital/data/platform/notification/inbox/controller/InboxNotificationControllerTest.java [80:98]
void shouldReturnResultForGetNotifications() {
prefillData();
mockMvc
.perform(
get(BASE_URL)
.queryParam("limit", "10")
.queryParam("offset", "0")
.header("X-Access-Token", TOKEN)
.contentType(MediaType.APPLICATION_JSON))
.andExpectAll(
status().isOk(),
content().contentType(MediaType.APPLICATION_JSON),
jsonPath("$.[0].id", notNullValue()),
jsonPath("$.[0].subject", is("subject")),
jsonPath("$.[0].message", is("message")),
jsonPath("$.[0].createdAt", notNullValue()),
jsonPath("$.[0].isAcknowledged", is(false)));
}