public void CanReturnHolerDataForExistingMoniker() { var holderDataService = new MockHolderData(); var holder = holderDataService.GetHolderData("mock"); Assert.NotNull(holder); }
public void LoadTestHolder() { try { var connectionString = "Data Source = (localdb)\\MSSQLLocalDB; Initial Catalog = BaseInfo"; _provider = new SqlHolderDataProvider(connectionString, new SqlLogDataRepository(connectionString)); var holderDataService = new MockHolderData(); var holder = holderDataService.GetHolderData(Moniker); holder.Id = TestHolderId; _provider.AddHolder(holder); } catch { } }