Exemplo n.º 1
0
        public void TestActivatingRecord()
        {
            // Arrange
            bool result = false;
            IVetAppointmentManager manager =
                new VetAppointmentManager(_vetAppointmentAccessor);
            AnimalVetAppointment vetAppointment = new AnimalVetAppointment()
            {
                VetAppointmentID = 1,
                Active           = false
            };

            // Act
            result = manager.ActivateVetAppointment(vetAppointment);

            // Assert
            Assert.IsTrue(result);
        }