Example #1
0
 public void GetNextDraftIdTest()
 {
     var context = new CSBC.Core.Data.CSBCDbContext();
     var player = new Player { DivisionID = 25, PeopleID = 2, CompanyID = 1, CoachID = 2, SeasonID = 2 };
     var rep = new PlayerRepository(context);
     var count = rep.GetNextDraftId(1, 2, 25);
     Assert.IsTrue(!String.IsNullOrEmpty(count));
 }