public void GetCredentialByAppointmentType_Success() { // Act var response = controller.GetCredentialByAppointmentType(appointmentTypeID); // 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 credential must exists."); }