public ClientLookupPage() { this.m_FavoriteClientCollection = Business.View.ClientLocationViewCollection.GetFavorites(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.DataContext = this; this.Loaded += new RoutedEventHandler(ClientLookupPage_Loaded); this.Unloaded += new RoutedEventHandler(ClientLookupPage_Unloaded); }
public void GetClientLocationViewByClientNameTest() { YellowstonePathology.Business.View.ClientLocationViewCollection result = YellowstonePathology.Business.Gateway.PhysicianClientGatewayMongo.GetClientLocationViewByClientName("St"); Assert.IsTrue(result.Count == 33); }