@Test
public void shouldSerializeNodeName() {

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