TextInfo implements JsonSerializable { @NonNull public static Builder newBuilder() { return new Builder(); } private  TextInfo(@NonNull Builder builder); @NonNull @Override JsonValue toJsonValue(); @NonNull static TextInfo fromJson(@NonNull JsonValue value); @Nullable String getText(); @Nullable Float getFontSize(); @Nullable Integer getColor(); @Nullable @Alignment String getAlignment(); @NonNull @Style List<String> getStyles(); @NonNull List<String> getFontFamilies(); @DrawableRes int getDrawable(@NonNull Context context); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @NonNull @Override String toString(); @NonNull static Builder newBuilder(); @NonNull static Builder newBuilder(@NonNull TextInfo textInfo); @NonNull
    static final String ALIGNMENT_RIGHT; @NonNull
    static final String ALIGNMENT_LEFT; @NonNull
    static final String ALIGNMENT_CENTER; @NonNull
    static final String STYLE_BOLD; @NonNull
    static final String STYLE_UNDERLINE; @NonNull
    static final String STYLE_ITALIC; }
@Test(expected = IllegalArgumentException.class) public void testMissingTextAndDrawable() { TextInfo.newBuilder() .build(); }