public void TestCreateDinner()
        {
            var newDinner = new Dinner { CreatedBy = "JohnWickerham", Title = "Sample Dinner 1", EventDate = DateTime.Parse("12/31/2010"), Address = "One Microsoft Way", Country = "USA", HostedBy = "*****@*****.**" };

            DBNerdDinnerOperations operations = new DBNerdDinnerOperations();
            var dinner = operations.CreateDinner(newDinner);

            Assert.IsNotNull(dinner);
        }
 public void TestGetRSVPsByDinnerId()
 {
     DBNerdDinnerOperations operations = new DBNerdDinnerOperations();
     var rsvps = operations.GetFilteredRSVPs(1, 0, 10, "", "asc", "AttendeeEmail");
     Assert.IsNotNull(rsvps.FilteredRsvpCount);
 }
 public void TestGetAllDinnersReturnsAList()
 {
     DBNerdDinnerOperations operations = new DBNerdDinnerOperations();
     var dinners = operations.GetDinners();
     Assert.IsNotNull(dinners);
 }