Example #1
0
        public void find_by_property()
        {
            var totalItems = 0;
            var list       = _trackRepo.FindByProperty("Composer", "Foo Fighters", out totalItems);

            Assert.IsNotEmpty(list);
            Assert.AreEqual(11, totalItems);

            foreach (var track in list)
            {
                Assert.AreEqual("Foo Fighters", track.Composer);
            }
        }