widgetInstancePreference.setReadOnly(true);
widgetInstance.getPreferences().add(widgetInstancePreference);
persistenceManager.save(widgetInstance);
// create participant
IParticipant participant = persistenceManager.newInstance(IParticipant.class);
participant.setWidget(widget);
participant.setSharedDataKey("test-shared-data-key");
participant.setParticipantId("test");
participant.setParticipantDisplayName("");
participant.setParticipantThumbnailUrl("");
persistenceManager.save(participant);
// create server feature
IServerFeature serverFeature = persistenceManager.newInstance(IServerFeature.class);
serverFeature.setFeatureName("test-feature-name");