@Test
public void testFindPossibleValuesWithInvalidXmlTag() {

  NlComponent checkBox = myLayout.getChild(0);
  NlPropertyItem property = NlPropertyItem.create(new XmlName(ATTR_STYLE, ""), null, ImmutableList.of(checkBox), null);
  deleteTag(checkBox);
  StyleEnumSupport support = new StyleEnumSupport(property);
  assertThat(support.getAllValues()).containsExactly(
    new ValueWithDisplayString("MyCheckBox", "@style/MyCheckBox"),
    ValueWithDisplayString.SEPARATOR,
    androidStyle("Widget.CompoundButton.CheckBox"),
    androidStyle("Widget.DeviceDefault.CompoundButton.CheckBox"),
    androidStyle("Widget.DeviceDefault.Light.CompoundButton.CheckBox"),
    androidStyle("Widget.Holo.CompoundButton.CheckBox"),
    androidStyle("Widget.Holo.Light.CompoundButton.CheckBox"),
    androidStyle("Widget.Material.CompoundButton.CheckBox"),
    androidStyle("Widget.Material.Light.CompoundButton.CheckBox")
  ).inOrder();
}