@Test
public void validateFeatureThrowingBoolOptionOk() {

  Feature.Builder builder = Feature.newBuilder();
  OptionCollection.Builder collectionBuilder = OptionCollection.newBuilder()
      .setOption(OptionType.bool)
      .addItems(FeatureOption.newBuilder().setValue("true").setKey("true").setWeight(5500))
      .addItems(FeatureOption.newBuilder().setValue("false").setKey("false").setWeight(4500));
  builder.setOwner(Owner.newBuilder().setName("Jayne").setUsername("jayne"))
      .setKey("key1")
      .setGroup("app1")
      .setOptions(collectionBuilder)
  ;
  try {
    new FeatureValidator().validateFeatureRegistrationThrowing(builder.build());
  } catch (ServiceException e) {
    fail();
  }
}