@Override
    public EntityExcerpt createExcerpt(ViewSummaryDTO nativeEntity) {
        return EntityExcerpt.builder()
                .id(ModelId.of(nativeEntity.id()))
                .type(getModelType())
                .title(nativeEntity.title())
                .build();
    }
@Test
    @MongoDBFixtures("ViewFacadeTest.json")
    public void itShouldCreateAEntityExcerpt() {
        final ViewSummaryDTO viewSummaryDTO = viewSummaryService.get(viewId)
                .orElseThrow(() -> new NotFoundException("Missing view with id: " + viewId));
        final EntityExcerpt entityExcerpt = facade.createExcerpt(viewSummaryDTO);

        assertThat(entityExcerpt.id().id()).isEqualTo(viewId);
        assertThat(entityExcerpt.type()).isEqualTo(ModelTypes.SEARCH_V1);
        assertThat(entityExcerpt.title()).isEqualTo(viewSummaryDTO.title());

    }