Exemplo n.º 1
0
        public void TestMissingAssetReturnsNull()
        {
            var assetCache = new AssetCache();
            var asset = assetCache.GetAsset("anasset");

            Assert.Equal(null, asset);
        }
Exemplo n.º 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");
 }