@Test
    public void testAmazonTranscribeAudio_itIT() throws Exception {
        String file = "it-IT_(We_Are_Having_Class_x2).mp3";
        String expected = "stiamo facendo lezione. stiamo facendo lezione.";
        ParseContext context = new ParseContext();
        context.set(LanguageCode.class, LanguageCode.IT_IT);
        String xml = getXML(file, PARSER, context).xml;
        assertContains(expected, xml);
    }
Tests transcribe with an audio file given the source language
The source language of the file is it-IT (Italian)
tika-parsers/tika-parsers-ml/tika-transcribe-aws/src/test/java/org/apache/tika/parser/transcribe/aws/AmazonTranscribeTest.java