@Test
public void validateFeatureThrowingStringOptionUpdateOk() {

  final Feature.Builder builder = Feature.newBuilder();
  final OptionCollection.Builder collectionBuilder = OptionCollection.newBuilder()
      .setOption(OptionType.string)
      .addItems(FeatureOption.newBuilder().setValue("red").setKey("opt-red").setWeight(5000).setId("r"))
      .addItems(FeatureOption.newBuilder().setValue("green").setKey("opt-green").setWeight(3000).setId("g"))
      .addItems(FeatureOption.newBuilder().setValue("blue").setKey("opt-blue").setWeight(2000).setId("b"));
  builder.setOwner(Owner.newBuilder().setName("Jayne").setUsername("jayne"))
      .setKey("key1")
      .setGroup("app1")
      .setOptions(collectionBuilder)
  ;
  try {
    new FeatureValidator().validateFeatureUpdateThrowing(builder.build());
  } catch (ServiceException e) {
    fail();
  }
}