public void Add_Bracket() { var db = new DatabaseRepository("VictoriousEntities"); var bracket = new BracketModel() { //BracketTitle = "Bracket", BracketTypeID = 2, Finalized = true, TournamentID = db.GetAllTournaments()[0].TournamentID, NumberOfGroups = 2 }; var result = db.AddBracket(bracket); Assert.AreEqual(DbError.SUCCESS, result); }