IntentSlotData { public static Builder builder() { return new Builder(); } IntentSlotData(Boolean confirmationRequired, Set<PromptVariation> confirmations,
                          Boolean elicitationRequired, Set<PromptVariation> elicitations,
                          DialogSlotPrompt prompts,
                          Set<String> samples); @JsonProperty("samples") Set<String> getSamples(); @JsonProperty("elicitations") Set<PromptVariation> getElicitations(); @JsonProperty("confirmations") Set<PromptVariation> getConfirmations(); @JsonProperty("confirmationRequired") Boolean getConfirmationRequired(); @JsonProperty("elicitationRequired") Boolean getElicitationRequired(); @JsonProperty("prompts") DialogSlotPrompt getPrompts(); @Override boolean equals(Object o); @Override int hashCode(); static Builder builder();  }
@Test public void testMergeSelf() { IntentSlotData test = mockBuilder("test").build(); assertEquals(test, IntentSlotData.builder().merge(test).merge(test).build()); }
@Test(expected = IllegalArgumentException.class) public void testMergePromptsConflict() { IntentSlotData left = mockBuilder("left").build(); IntentSlotData right = mockBuilder("right").build(); IntentSlotData.builder().merge(left).merge(right).build(); }