@Test
public void shouldReturnNonEmptyString() {

    String result = new JsonResourceSerializer().serialize(resource);
    assertThat(result)
            .as("Result of node's serialization should not be empty")
            .isNotEmpty();
}