예제 #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");
 }