@Test
public void shouldSerializeChildNodeName() throws RepositoryException {

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