public void PerformRequestToTheSpeciesEndpoint() { this.SetupAndAssertControllerAllRecords( () => this._controller.Species(), dataService => dataService.GetSpecies(), StubData.GetAllSpecies()); }
public void PerformRequestToTheSpeciesEndpointWithIdentifier(string identifier) { this.SetupAndAssertControllerSingleRecord( identifier, id => this._controller.SpeciesById(id), dataService => dataService.GetSpecies(), StubData.GetAllSpecies()); }