示例#1
0
        public void TestMissingAssetReturnsNull()
        {
            var assetCache = new AssetCache();
            var asset = assetCache.GetAsset("anasset");

            Assert.Equal(null, asset);
        }
示例#2
0
 /// <summary>
 /// Confirms that an asset thrown into the asset cache can be extracted as a whole new object.
 /// </summary>
 public void TestReturnsClonedAssetWhenFetched()
 {
     var assetCache = new AssetCache();
     var asset = assetCache.GetAsset("anasset");
 }