@Override
    public Map<String, Object> create(final T entity, final Class<?> entityClass) {
        final Map<String, Object> respEntityContext = this.responseEntityConverter.convertValue(entity, entityClass);
        if (respEntityContext != null) {
            return Map.of("response_entity", respEntityContext);
        } else {
            return Map.of("response_entity", Map.of());
        }
    }
@Test
    void createsProperContext() {
        final Map<String, Object> expected = Map.of("response_entity", Map.of(
                "tiny_id", "42",
                "tiny_title", "Carramba!"
        ));

        DefaultSuccessContextCreator<TinyEntity> toTest = new DefaultSuccessContextCreator<>(new ResponseEntityConverter(new ObjectMapper()));
        assertThat(toTest.create(new TinyEntity("42", "Carramba!"), TinyEntity.class)).isEqualTo(expected);
    }