예제 #1
0
        public static void GetAll_Returns_CorrectAmount()
        {
            var repo = new BraveRepository(Factory);
            IEnumerable <Brave> results = null;

            Assert.DoesNotThrow(() => results = repo.GetAllJoins(Connection));
            Assert.That(results, Is.Not.Null);
            Assert.That(results, Is.Not.Empty);
            Assert.That(results.First().New, Is.Not.Null);
            Assert.That(results.First().New.World, Is.Not.Null);
        }