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