Beispiel #1
0
        public void GetAppointmentType_Success()
        {
            // Act
            var result   = controller.GetAppointmentType(programId);
            var response = result as Response <AppointmentTypeViewModel>;

            // Assert
            Assert.IsTrue(response != null, "Response can't be null");
            Assert.IsTrue(response.DataItems != null, "Data items can't be null");
            Assert.IsTrue(response.DataItems.Count > 0, "Atleast one appointment resource must exists.");
        }