public async Task Read_Study_WithoutRelevantRoles_ShouldFail(bool employee, bool isSponsor, bool datasetAdmin) { SetScenario(isEmployee: employee, isSponsor: isSponsor, isDatasetAdmin: datasetAdmin); await WithUserSeeds(); var createdStudy = await WithStudyCreatedByOtherUser(restricted : true); var studyReadConversation = await GenericReader.ReadExpectFailure(_restHelper, GenericReader.StudyUrl(createdStudy.Id)); ApiResponseBasicAsserts.ExpectForbiddenWithMessage(studyReadConversation.Response, "does not have permission to perform operation"); }