public async Task Execute_WithSearchFullText_RecordsReturned() { var query = new FilmsWithActorsCategoriesQuery(OpenTransaction) { SearchFullText = "Air:*" }; var records = await query.Execute(); Assert.Equal(5, records.Count); }
public async Task Execute_WithExactFilmTitle_RecordsReturned() { var query = new FilmsWithActorsCategoriesQuery(OpenTransaction) { FilmTitle = "Airport Pollock" }; var records = await query.Execute(); Assert.Single(records); Assert.Equal(4, records.First().Actors.Count); Assert.Single(records.First().Categories); }