public void PerformRequestToThePharmaceuticalFormEndpoint() { this.SetupAndAssertControllerAllRecords( () => this._controller.PharmaceuticalForm(), dataService => dataService.GetPharmaceuticalForms(), StubData.GetAllPharmaceuticalForms()); }
public void PerformRequestToThePharmaceuticalFormEndpointWithIdentifier(string identifier) { this.SetupAndAssertControllerSingleRecord( identifier, id => this._controller.PharmaceuticalFormById(id), dataService => dataService.GetPharmaceuticalForms(), StubData.GetAllPharmaceuticalForms()); }