diff --git a/src/main/java/com/nexmo/client/voice/VoiceName.java b/src/main/java/com/nexmo/client/voice/VoiceName.java index 271143d95..fc1a602e0 100644 --- a/src/main/java/com/nexmo/client/voice/VoiceName.java +++ b/src/main/java/com/nexmo/client/voice/VoiceName.java @@ -32,92 +32,101 @@ */ public enum VoiceName { - SALLI("Salli"), - JOEY("Joey"), - MATTHEW("Matthew"), - NAJA("Naja"), - MADS("Mads"), - MARLENE("Marlene"), - HANS("Hans"), - NICOLE("Nicole"), - RUSSELL("Russell"), + ADITI("Aditi"), + AGNIESZKA("Agnieszka"), + ALVA("Alva"), AMY("Amy"), + ASTRID("Astrid"), + BIANCA("Bianca"), BRIAN("Brian"), - EMMA("Emma"), - GWYNETH("Gwyneth"), - GERAINT("Geraint"), - RAVEENA("Raveena"), + CARLA("Carla"), + CARMEN("Carmen"), + CARMIT("Carmit"), + CATARINA("Catarina"), + CELINE("Celine"), + CEM("Cem"), + CHANTAL("Chantal"), CHIPMUNK("Chipmunk"), + CONCHITA("Conchita"), + CRISTIANO("Cristiano"), + DAMAYANTI("Damayanti"), + EMPAR("Empar"), + DORA("Dora"), + EMMA("Emma"), + ENRIQUE("Enrique"), ERIC("Eric"), + EWA("Ewa"), + FELIPE("Felipe"), + FILIZ("Filiz"), + GERAINT("Geraint"), + GIORGIO("Giorgio"), + GWYNETH("Gwyneth"), + HANS("Hans"), + HENRIK("Henrik"), + INES("Ines"), + IOANA("Ioana"), + IVETA("Iveta"), IVY("Ivy"), + JACEK("Jacek"), + JAN("Jan"), JENNIFER("Jennifer"), + JOANA("Joana"), + JOEY("Joey"), + JORDI("Jordi"), JUSTIN("Justin"), + KANYA("Kanya"), + KARL("Karl"), KENDRA("Kendra"), KIMBERLY("Kimberly"), - CONCHITA("Conchita"), - ENRIQUE("Enrique"), - PENELOPE("Penelope"), - MIGUEL("Miguel"), - CHANTAL("Chantal"), - CELINE("Celine"), - MATHIEU("Mathieu"), - DORA("Dora"), - KARL("Karl"), - CARLA("Carla"), - GIORGIO("Giorgio"), + LAILA("Laila"), + LAURA("Laura"), + LEA("Lea"), + LEKHA("Lekha"), LIV("Liv"), LOTTE("Lotte"), - RUBEN("Ruben"), - AGNIESZKA("Agnieszka"), - JACEK("Jacek"), - EWA("Ewa"), - JAN("Jan"), + LUCIA("Lucia"), + LUCIANA("Luciana"), + MADS("Mads"), + MAGED("Maged"), MAJA("Maja"), - VITORIA("Vitoria"), - RICARDO("Ricardo"), - CRISTIANO("Cristiano"), - INES("Ines"), - CARMEN("Carmen"), + MARISKA("Mariska"), + MARLENE("Marlene"), + MATHIEU("Mathieu"), + MATTHEW("Matthew"), MAXIM("Maxim"), - TATYANA("Tatyana"), - ASTRID("Astrid"), - FILIZ("Filiz"), - MIZUKI("Mizuki"), - SEOYEON("Seoyeon"), - LAILA("Laila"), - MAGED("Maged"), - TARIK("Tarik"), - DAMAYANTI("Damayanti"), + MEI_JIA("Mei-Jia"), + MELINA("Melina"), + MIA("Mia"), + MIGUEL("Miguel"), MIREN("Miren"), - SIN_JI("Sin-Ji"), - JORDI("Jordi"), + MIZUKI("Mizuki"), MONTSERRAT("Montserrat"), - IVETA("Iveta"), - ZUZANA("Zuzana"), - TESSA("Tessa"), - SATU("Satu"), - MELINA("Melina"), + NAJA("Naja"), + NICOLE("Nicole"), NIKOS("Nikos"), - CARMIT("Carmit"), - LEKHA("Lekha"), - MARISKA("Mariska"), - SORA("Sora"), - TIAN_TIAN("Tian-Tian"), - MEI_JIA("Mei-Jia"), NORA("Nora"), - HENRIK("Henrik"), - LUCIANA("Luciana"), - FELIPE("Felipe"), - CATARINA("Catarina"), - JOANA("Joana"), - IOANA("Ioana"), - LAURA("Laura"), - ALVA("Alva"), OSKAR("Oskar"), - KANYA("Kanya"), - CEM("Cem"), + PENELOPE("Penelope"), + RAVEENA("Raveena"), + RICARDO("Ricardo"), + RUBEN("Ruben"), + RUSSELL("Russell"), + SALLI("Salli"), + SATU("Satu"), + SEOYEON("Seoyeon"), + SIN_JI("Sin-Ji"), + SORA("Sora"), + TAKUMI("Takumi"), + TARIK("Tarik"), + TATYANA("Tatyana"), + TESSA("Tessa"), + TIAN_TIAN("Tian-Tian"), + VICKI("Vicki"), + VITORIA("Vitoria"), YELDA("Yelda"), - EMPAR("Empar"), + ZEINA("Zeina"), + ZHIYU("Zhiyu"), + ZUZANA("Zuzana"), UNKNOWN("Unknown"); private static final Map voiceNameIndex = new HashMap<>(); diff --git a/src/test/java/com/nexmo/client/voice/VoiceNameTest.java b/src/test/java/com/nexmo/client/voice/VoiceNameTest.java index 33e7d666e..e828d0b2e 100644 --- a/src/test/java/com/nexmo/client/voice/VoiceNameTest.java +++ b/src/test/java/com/nexmo/client/voice/VoiceNameTest.java @@ -114,6 +114,7 @@ public void testEachVoiceNameForCorrectCapitalization() { assertEquals(VoiceName.NORA.getDisplayName(), "Nora"); assertEquals(VoiceName.HENRIK.getDisplayName(), "Henrik"); assertEquals(VoiceName.LUCIANA.getDisplayName(), "Luciana"); + assertEquals(VoiceName.LUCIA.getDisplayName(), "Lucia"); assertEquals(VoiceName.FELIPE.getDisplayName(), "Felipe"); assertEquals(VoiceName.CATARINA.getDisplayName(), "Catarina"); assertEquals(VoiceName.JOANA.getDisplayName(), "Joana"); @@ -125,6 +126,12 @@ public void testEachVoiceNameForCorrectCapitalization() { assertEquals(VoiceName.CEM.getDisplayName(), "Cem"); assertEquals(VoiceName.YELDA.getDisplayName(), "Yelda"); assertEquals(VoiceName.EMPAR.getDisplayName(), "Empar"); + assertEquals(VoiceName.VICKI.getDisplayName(), "Vicki"); + assertEquals(VoiceName.ADITI.getDisplayName(), "Aditi"); + assertEquals(VoiceName.TAKUMI.getDisplayName(), "Takumi"); + assertEquals(VoiceName.LEA.getDisplayName(), "Lea"); + assertEquals(VoiceName.ZEINA.getDisplayName(), "Zeina"); + assertEquals(VoiceName.ZHIYU.getDisplayName(), "Zhiyu"); assertEquals(VoiceName.UNKNOWN.getDisplayName(), "Unknown"); } }