public void RemoveParticipantFromStudyDB_WithInvalidInput_SuccesIsFalse() { uut = new ManageParticipantHandler(mockContext.Object); var dbrecept = uut.RemoveParticipantFromStudyDB(10, 1); Assert.IsFalse(dbrecept.success); }
public void RemoveParticipantFromStudyDB_WithInvalidInput_Participantisnotenrolledinstudy() { uut = new ManageParticipantHandler(mockContext.Object); var dbrecept = uut.RemoveParticipantFromStudyDB(10, 1); Assert.AreEqual(dbrecept.errormessage, "Participant is not enrolled in study"); }