Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Test]
- [ExpectedException(typeof (ConcurrentChangeException))]
- public void ConcurrentAuctionEdit()
- {
- var site1 = this.SiteFactory.LoadSite(this.GetConnectionString(), "SITO1", this.AlarmClock);
- var session2 = site1.Login("User2", "Pass2");
- var auction1 = site1.GetAuctions(false).First();
- var auction2 = site1.GetAuctions(false).First();
- auction1.BidOnAuction(session2, 1000);
- auction2.BidOnAuction(session2, 1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement