PropInfo { @NotNull public List<? extends TextValue> getTextValues() { return values; } PropInfo(@Nullable String name, int type, @NotNull TextValue value);  PropInfo(@Nullable String name, int type, @NotNull List<? extends TextValue> values);  PropInfo(@Nullable String name, int type,
                    @NotNull List<? extends TextValue> values,
                    @NotNull MultipleStatus multipleStatus); void dispose(); int getTargetType(PropertyDefinition def); @Nullable String getName(); int getType(); boolean isUnknownMultiple(); @NotNull TextValue getTextValue(); @NotNull List<? extends TextValue> getTextValues(); @NotNull Value getValue(int targetType); @NotNull List<Value> getValues(int targetType); PropertyState asPropertyState(@NotNull PropertyDefinition propertyDefinition);  }
@Test public void testGetTextValuesSingle() throws Exception { TextValue tv = mockTextValue("value", PropertyType.STRING); PropInfo propInfo = new PropInfo("string", PropertyType.STRING, tv); assertEquals(ImmutableList.of(tv), propInfo.getTextValues()); }
@Test public void testGetTextValuesMultiple() throws Exception { List<TextValue> tvs = ImmutableList.of(mockTextValue("24", PropertyType.LONG)); PropInfo propInfo = new PropInfo("longs", PropertyType.LONG, tvs); assertEquals(tvs, propInfo.getTextValues()); }