Aspectacular.Test.LinqTests.TestExistsExtensionMethod C# (CSharp) Method

TestExistsExtensionMethod() private method

private TestExistsExtensionMethod ( ) : void
return void
        public void TestExistsExtensionMethod()
        {
            long barCount = AwDal.Count(db => db.SearchAddress("bar"));
            Assert.IsTrue(barCount == 1);

            bool addressExists = AwDal.Exists(db => db.SearchAddress("bar"));
            Assert.IsTrue(addressExists);
        }