public ContentPackInstallation insert(final ContentPackInstallation installation) {
        final WriteResult<ContentPackInstallation, ObjectId> writeResult = dbCollection.insert(installation);
        return writeResult.getSavedObject();
    }
@Test
    public void insert() {
        final ContentPackInstallation contentPackInstallation = ContentPackInstallation.builder()
                .contentPackId(ModelId.of("content-pack-id"))
                .contentPackRevision(1)
                .parameters(ImmutableMap.of())
                .entities(ImmutableSet.of())
                .comment("Comment")
                .createdAt(ZonedDateTime.of(2018, 7, 16, 14, 0, 0, 0, ZoneOffset.UTC).toInstant())
                .createdBy("username")
                .build();

        final ContentPackInstallation savedContentPack = persistenceService.insert(contentPackInstallation);
        assertThat(savedContentPack.id()).isNotNull();
        assertThat(savedContentPack).isEqualToIgnoringGivenFields(contentPackInstallation, "id");
    }