### Question:
FlexSeparatorComponent extends FlexMessageComponent { public static Builder newBuilder() { return new Builder(); } FlexSeparatorComponent(); private  FlexSeparatorComponent(@NonNull Builder builder); static Builder newBuilder(); @NonNull @Override JSONObject toJsonObject();  }### Answer:
@Test public void all_fields() throws JSONException { component = FlexSeparatorComponent.newBuilder() .setMargin(FlexMessageComponent.Margin.XL) .setColor("#00ffff") .build(); messageShouldBe("{" + " \"type\": \"separator\"," + " \"margin\": \"xl\"," + " \"color\": \"#00ffff\"" + "}"); }