예제 #1
0
        public async Task Find_AllColumns()
        {
            dynamic films          = new Films(ProviderName);
            var     singleInstance = await films.FindAsync(film_id : 43);

            Assert.AreEqual(43, singleInstance.film_id);
        }
예제 #2
0
        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);
        }