public void Import_TestSorted() { IEnumerable <Translation> translations = DatFileUtility.Import(TEST_DATA_SORTED_PATH_IN, new CultureInfo("en-GB")); Assert.IsNotNull(translations); Assert.IsTrue(translations.Any()); }
public void Import_TestUnsorted() { IEnumerable <Translation> translations = DatFileUtility.Import(TEST_DATA_UNSORTED_PATH_IN, new CultureInfo("en-GB"), FileType.UnsortedCreditsStringFile); Assert.IsNotNull(translations); Assert.IsTrue(translations.Any()); }