public static IEnumerable <object[]> GetTestData() { var accPos = new LockExclAcct(); accPos.AccountID = "W-12270594"; //accPos.AccountDetail = AccountDetail.SECURITY; accPos.Positions = new List <LockExclPosition> { new LockExclPosition { SecID = "T-S-1101061", LockedYN = true, ExcludeYN = false }, new LockExclPosition { SecID = "T-S-1420369", LockedYN = false, ExcludeYN = false }, new LockExclPosition { SecID = "T-S-2720677", LockedYN = false, ExcludeYN = false }, new LockExclPosition { SecID = "T-S-3091445", LockedYN = false, ExcludeYN = false } }; yield return(new object[] { new LockExcludeRequest { planId = "212503", accountPosition = accPos } }); }
public static IEnumerable <object[]> GetNegTestData() { var accPos = new LockExclAcct(); accPos.AccountID = "-1"; accPos.Positions = new List <LockExclPosition> { new LockExclPosition { SecID = "-1", LockedYN = true, ExcludeYN = false }, new LockExclPosition { SecID = "-1", LockedYN = false, ExcludeYN = false }, }; yield return(new object[] { new LockExcludeRequest { planId = "-1", accountPosition = accPos } }); }