public void Test_Integridade_GetConditionSpecie() { string esperado = "Id IN(Select distinct peopleId From people_species_species pss inner join species s on " + $"s.Id = pss.speciesId where s.name = 'Human' ) and "; string Atual = FunctionsPeopleService.GetConditionSpecie("Human"); Assert.Equal(esperado, Atual); }
public static string GetConditionSpecie(this RepositoryPeople input, string name) { return(FunctionsPeopleService.GetConditionSpecie(name)); }
public static string GetConditionStarship(this PeopleService input, string name) { return(FunctionsPeopleService.GetConditionSpecie(name)); }
public static string GetConditionFilm(this PeopleService input, string title) { return(FunctionsPeopleService.GetConditionSpecie(title)); }