@Test public void hero_with_image() throws JSONException { givenFlexBubbleContainer(FlexBubbleContainer.newBuilder().setHero(imageComponent)); messageShouldBe("{" + " \"type\": \"bubble\"," + " \"hero\": {" + " \"type\": \"image\"," + " \"url\": \"https: " }" + "}"); }
public static Builder newBuilder() { return new Builder(); }
FlexBubbleContainer extends FlexMessageContainer { public static Builder newBuilder() { return new Builder(); } }
FlexBubbleContainer extends FlexMessageContainer { public static Builder newBuilder() { return new Builder(); } private  FlexBubbleContainer(); private  FlexBubbleContainer(Builder builder); }
FlexBubbleContainer extends FlexMessageContainer { public static Builder newBuilder() { return new Builder(); } private  FlexBubbleContainer(); private  FlexBubbleContainer(Builder builder); static Builder newBuilder(); @NonNull @Override JSONObject toJsonObject(); }
FlexBubbleContainer extends FlexMessageContainer { public static Builder newBuilder() { return new Builder(); } private  FlexBubbleContainer(); private  FlexBubbleContainer(Builder builder); static Builder newBuilder(); @NonNull @Override JSONObject toJsonObject();  }