@Test public void without_margin_and_ratio() throws JSONException { component = FlexIconComponent.newBuilder("https: .setSize(FlexMessageComponent.Size.XXL) .build(); messageShouldBe("{" + " \"type\": \"icon\"," + " \"url\": \"https: " \"size\": \"xxl\"" + "}"); }
public static Builder newBuilder(@NonNull String url) { return new Builder(url); }
FlexIconComponent extends FlexMessageComponent { public static Builder newBuilder(@NonNull String url) { return new Builder(url); } }
FlexIconComponent extends FlexMessageComponent { public static Builder newBuilder(@NonNull String url) { return new Builder(url); } private  FlexIconComponent(); private  FlexIconComponent(@NonNull Builder builder); }
FlexIconComponent extends FlexMessageComponent { public static Builder newBuilder(@NonNull String url) { return new Builder(url); } private  FlexIconComponent(); private  FlexIconComponent(@NonNull Builder builder); static Builder newBuilder(@NonNull String url); @NonNull @Override JSONObject toJsonObject(); }
FlexIconComponent extends FlexMessageComponent { public static Builder newBuilder(@NonNull String url) { return new Builder(url); } private  FlexIconComponent(); private  FlexIconComponent(@NonNull Builder builder); static Builder newBuilder(@NonNull String url); @NonNull @Override JSONObject toJsonObject();  }