@Test
public void should_create_a_factory_which_contains_localizations() throws Exception {

    writeByteArrayToFile(localizationFile, localizationFileContent.getBytes());
    assertThat(localizationFactory.generate(page))
            .isEqualTo(createFactory(localizationFileContent));
}