@Test
public void testIntentConfirmation() {

    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);
    Prompt expectedPrompt = Prompt.builder()
        .withId("Confirm.Intent-TestIntent")
        .withVariations(Collections.singletonList(PromptVariation.builder()
            .withType("PlainText")
            .withValue("test_en_US confirmation")
            .build()))
        .build();
    Prompt actualPrompt = model.getPrompts().stream().filter(p -> p.getId().equals("Confirm.Intent-TestIntent")).findFirst().get();
    assertEquals(actualPrompt, expectedPrompt);
    DialogIntent actualIntent = model.getDialog().getIntents().stream().filter(d -> d.getName().equals("TestIntent")).findFirst().get();
    assertEquals(actualIntent.getPrompts().getConfirmation(), "Confirm.Intent-TestIntent");
    assertEquals(actualIntent.getConfirmationRequired(), true);
}