public void TestVolunteerEventManagerRemoveNonExistingEvent()
        {
            // Arrange
            IVolunteerEventManager _volunteerEventManager = new VolunteerEventManager(_volunteerEventAccessor);

            // Act
            int rows = _volunteerEventManager.RemoveVolunteerEvent(25225);

            // Assert
            Assert.AreEqual(0, rows);
        }
        public void TestVolunteerEventManagerRemoveEvent()
        {
            // Arrange
            int rows = 0;
            IVolunteerEventManager _volunteerEventManager = new VolunteerEventManager(_volunteerEventAccessor);

            // Act
            rows = _volunteerEventManager.RemoveVolunteerEvent(100000);

            // Assert
            Assert.AreEqual(1, rows);
        }
        public void TestVolunteerManagerCreatesVolunteerEvent()
        {
            // Arrange
            VolunteerEventVM Volevent = new VolunteerEventVM()
            {
                EventName        = "The Event Name",
                EventDescription = "The Event Description",
                Active           = true
            };

            int rows = 0;
            IVolunteerEventManager _volunteerEventManager = new VolunteerEventManager(_volunteerEventAccessor);

            // Act
            rows = _volunteerEventManager.InsertVolunteerEvent(Volevent);

            // Assert
            Assert.AreEqual(rows, 1);
        }
        public void TestVolunteerEventManagerUpdateEventRecord()
        {
            // Arrange
            IVolunteerEventManager _volunteerEventManager = new VolunteerEventManager(_volunteerEventAccessor);
            int rows = 0;

            // Act
            rows = _volunteerEventManager.UpdateVolunteerEvent(
                new VolunteerEvent()
            {
                VolunteerEventID = 100000
            },
                new VolunteerEvent()
            {
                VolunteerEventID = 100000,
                EventName        = "Cool Event",
                EventDescription = "It is a cool event."
            });

            // Assert
            Assert.AreEqual(1, rows);
        }