@Test
public void buildJsonViewOfNullValue() {

    final JsonObject createdJsonView =
            underTest.buildJsonView(JsonFactory.nullObject(), new HashSet<>(), Permissions.none());
    final JsonObject expectedJsonView = JsonFactory.nullObject();
    assertThat(createdJsonView).isEqualTo(expectedJsonView);
}