@Test
public void shouldSerializeNodeName() throws RepositoryException {

    String result = new JsonNodeSerializer().serialize(node);
    assertThat(result)
            .as("Node's name should be serialized")
            .contains(RESOURCE_NAME);
}