using Microsoft.VisualStudio.TestTools.UnitTesting; using Neo.Afx.Services.Integration; using Neo.Afx.ViewModels; using System; using System.Collections.Generic; using System.Linq; namespace Neo.Afx.UnitTests { [TestClass] public class TestGetLookups { [TestMethod] public void TestMethod1() { var lookups = new List(); var integrationStore = new SqlIntegrationStore(); try { integrationStore.Open(); lookups.Add(new LookupList("OfficeLocations", integrationStore.GetDataEntities("OfficeLocations", string.Empty).OrderBy(a => a.Title))); } finally { integrationStore.Close(); } } } }