@Test
public void testOptionCollectionFlag() {

  OptionSelectorBool oe = new OptionSelectorBool();
  OptionCollection collection = OptionCollection.newBuilder()
      .setOption(OptionType.flag)
      .build();
  final Feature feature1 = Feature.newBuilder()
      .setOptions(collection)
      .setStatus(Status.on)
      .build();
  assertFalse(oe.selectBooleanOptions(
      feature1.getOptions(),
      feature1.getStatus(),
      new OptionSelectorWeighted(feature1.getOptions().getItemsList())
  ));
}