FullScreenDisplayContent implements DisplayContent { @NonNull public static Builder newBuilder() { return new Builder(); } private  FullScreenDisplayContent(@NonNull Builder builder); @NonNull static FullScreenDisplayContent fromJson(@NonNull JsonValue value); @NonNull @Override JsonValue toJsonValue(); @Nullable TextInfo getHeading(); @Nullable TextInfo getBody(); @Nullable MediaInfo getMedia(); @NonNull List<ButtonInfo> getButtons(); @NonNull @ButtonLayout String getButtonLayout(); @NonNull @Template String getTemplate(); @ColorInt int getBackgroundColor(); @ColorInt int getDismissButtonColor(); @Nullable ButtonInfo getFooter(); @NonNull @Override String toString(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @NonNull static Builder newBuilder(); @NonNull static Builder newBuilder(@NonNull FullScreenDisplayContent displayContent); @NonNull
    static final String TEMPLATE_HEADER_MEDIA_BODY; @NonNull
    static final String TEMPLATE_MEDIA_HEADER_BODY; @NonNull
    static final String TEMPLATE_HEADER_BODY_MEDIA; static final int MAX_BUTTONS; }
@Test(expected = IllegalArgumentException.class) public void testNoHeaderOrBody() { FullScreenDisplayContent.newBuilder() .addButton(ButtonInfo.newBuilder() .setLabel(TextInfo.newBuilder() .setText("Oh hi") .build()) .setId("id") .build()) .addButton(ButtonInfo.newBuilder() .setLabel(TextInfo.newBuilder() .setText("Oh hi") .build()) .setId("id") .build()) .build(); }
@Test(expected = IllegalArgumentException.class) public void testTooManyButtons() { FullScreenDisplayContent.newBuilder() .setBody(TextInfo.newBuilder() .setText("oh hi") .build()) .addButton(ButtonInfo.newBuilder() .setLabel(TextInfo.newBuilder() .setText("Oh hi") .build()) .setId("id") .build()) .addButton(ButtonInfo.newBuilder() .setLabel(TextInfo.newBuilder() .setText("Oh hi") .build()) .setId("id") .build()) .addButton(ButtonInfo.newBuilder() .setLabel(TextInfo.newBuilder() .setText("Oh hi") .build()) .setId("id") .build()) .addButton(ButtonInfo.newBuilder() .setLabel(TextInfo.newBuilder() .setText("Oh hi") .build()) .setId("id") .build()) .addButton(ButtonInfo.newBuilder() .setLabel(TextInfo.newBuilder() .setText("Oh hi") .build()) .setId("id") .build()) .addButton(ButtonInfo.newBuilder() .setLabel(TextInfo.newBuilder() .setText("Oh hi") .build()) .setId("id") .build()) .build(); }