@Test
public void whenChoicesHaveAudio_andNoButtonsMode_clickingChoice_playsAndStopsAudio() throws Exception {

    createMockReference(referenceManager, "file://blah2.mp3");
    String reference = createMockReference(referenceManager, "file://blah1.mp3");
    formEntryPrompt = new MockFormEntryPromptBuilder()
            .withIndex("i am index")
            .withAppearance(NO_BUTTONS)
            .withSelectChoices(asList(
                    new SelectChoice("1", "1"),
                    new SelectChoice("2", "2")
            ))
            .withSpecialFormSelectChoiceText(asList(
                    new Pair<>(FormEntryCaption.TEXT_FORM_AUDIO, "file://blah1.mp3"),
                    new Pair<>(FormEntryCaption.TEXT_FORM_AUDIO, "file://blah2.mp3")
            ))
            .build();
    GridMultiWidget widget = getActualWidget();
    widget.onItemClick(0);
    verify(audioHelper).play(new Clip("i am index 0", reference));
    widget.onItemClick(0);
    verify(audioHelper).stop();
}