public void TestThatTranslationInfoGetAllGetsTranslationInfoSystemViewCollection() { TranslationInfoCollectionGetQuery translationInfoCollectionGetQuery = new TranslationInfoCollectionGetQuery(); IList <TranslationInfoSystemView> translationInfoSystemViewCollection = new List <TranslationInfoSystemView>(_foodWasteSystemDataService.TranslationInfoGetAll(translationInfoCollectionGetQuery)); Assert.That(translationInfoSystemViewCollection, Is.Not.Null); Assert.That(translationInfoSystemViewCollection, Is.Not.Empty); }
/// <summary> /// Gets all the translatios informations. /// </summary> /// <param name="client">The client to the service which can access and modify system data in the food waste domain.</param> /// <returns>Colleciton of all the translatios informations.</returns> private IList <TranslationInfoSystemView> GetTranslationInfoCollection(IFoodWasteSystemDataService client) { TranslationInfoCollectionGetQuery translationInfoCollectionGetQuery = new TranslationInfoCollectionGetQuery(); return(new List <TranslationInfoSystemView>(client.TranslationInfoGetAll(translationInfoCollectionGetQuery))); }