Esempio n. 1
0
        public void GetCache_returns_Enumerable()
        {
            // Arrange

            // Act
            var result = _serv.getCache();

            // Assert
            Assert.IsInstanceOfType(result, typeof(IEnumerable <Lookup>));
        }
Esempio n. 2
0
 public FluentRecordBase AddLookupCache()
 {
     if (_dbFactory == null)
     {
         AddDBFactory();
     }
     _lcache = new LookupCache(_dbFactory);
     _lcache.getCache();
     return(this);
 }