@Test
public void testRenderDialogSlot_ElicitationRequired() {

    when(mockSlotMetadata.getElicitationRequired()).thenReturn(true);
    assertTrue(underTest.renderDialogSlot(mockIntentDefinition, "slot_name", mockSlotTypeDefinition, mockSlotMetadata).getElicitationRequired());
    when(mockSlotMetadata.getElicitationRequired()).thenReturn(false);
    assertFalse(underTest.renderDialogSlot(mockIntentDefinition, "slot_name", mockSlotTypeDefinition, mockSlotMetadata).getElicitationRequired());
}