@Test
public void testSlotConfirmation() {

    SkillModel skill = SkillModel.builder()
        .withInvocationName(Locales.en_US, "en_US")
        .addModel(Model.builder()
            .intent(TestIntent.class)
            .build())
        .build();
    InteractionModel model = underTest.render(skill, Locales.en_US);
    DialogSlot slot = model.getDialog().getIntents().get(0).getSlots().stream()
        .filter(s -> s.getName().equals("customSlot"))
        .findFirst().get();
    assertEquals(slot.getType(), "TestCustom");
    assertEquals(slot.getConfirmationRequired(), true);
    assertEquals(slot.getPrompts().getConfirmation(), "Confirm.Intent-TestIntent.IntentSlot-customSlot");
    assertEquals(
        model.getPrompts().stream().filter(p -> p.getId().equals("Confirm.Intent-TestIntent.IntentSlot-customSlot")).findFirst().get().getVariations(),
        Collections.singletonList(PromptVariation.builder().withType("PlainText").withValue("test_en_US customSlot confirmation").build()));
}