@Test
public void should_convert_plural_translations_into_json() throws Exception {

    File poFile = directory.newFile();
    write(poFile.toPath(), readResource("/i18n/plural.po"));
    assertThat(new String(languagePackFactory.create(poFile).toJson()))
            .isEqualTo("{\"francais\":{\"A page\":[\"Une page\",\"Des pages\"]}}");
}