@Override
    public EntityExcerpt createExcerpt(Collector collector) {
        return EntityExcerpt.builder()
                .id(ModelId.of(collector.id()))
                .type(TYPE_V1)
                .title(collector.name())
                .build();
    }
@Test
    @MongoDBFixtures("SidecarCollectorFacadeTest.json")
    public void createExcerpt() {
        final Collector collector = collectorService.find("5b4c920b4b900a0024af0001");
        final EntityExcerpt excerpt = facade.createExcerpt(collector);

        assertThat(excerpt.id()).isEqualTo(ModelId.of("5b4c920b4b900a0024af0001"));
        assertThat(excerpt.type()).isEqualTo(ModelTypes.SIDECAR_COLLECTOR_V1);
        assertThat(excerpt.title()).isEqualTo("filebeat");
    }