public void CanSetRegion() { var hbmCache = new HbmCache(); var mapper = new CacheMapper(hbmCache); mapper.Region("pizza"); hbmCache.region.Should().Be("pizza"); }
public void CanSetUsage() { var hbmCache = new HbmCache(); var mapper = new CacheMapper(hbmCache); mapper.Usage(CacheUsage.ReadWrite); hbmCache.usage.Should().Be(HbmCacheUsage.ReadWrite); }
public void CanSetInclude() { var hbmCache = new HbmCache(); var mapper = new CacheMapper(hbmCache); mapper.Include(CacheInclude.NonLazy); hbmCache.include.Should().Be(HbmCacheInclude.NonLazy); }