Exemple #1
0
        public void ResultsNull()
        {
            EntityCollection results = null;

            bool isEmpty = GoodExample.DetermineResultCount(results);

            Assert.IsTrue(isEmpty);
        }
Exemple #2
0
        public void ResultsEntitiesNullZero()
        {
            EntityCollection results = new EntityCollection();

            bool isEmpty = GoodExample.DetermineResultCount(results);

            Assert.IsTrue(isEmpty);
        }
Exemple #3
0
        public void ResultsEntitiesHasCount()
        {
            EntityCollection results = new EntityCollection();

            results.Entities.Add(new Entity("lat_distributeentity"));

            bool isEmpty = GoodExample.DetermineResultCount(results);

            Assert.IsFalse(isEmpty);
        }