public async Task Find_AllColumns() { dynamic films = new Films(ProviderName); var singleInstance = await films.FindAsync(film_id : 43); Assert.AreEqual(43, singleInstance.film_id); }
public async Task Find_OneColumn() { dynamic films = new Films(ProviderName); var singleInstance = await films.FindAsync(film_id : 43, columns : "film_id"); Assert.AreEqual(43, singleInstance.film_id); Assert.AreEqual(DateTime.MinValue, singleInstance.last_update); }