Microsoft.WindowsAzure.MediaServices.Client.Tests.AssetTests.VerifyAsset C# (CSharp) Method

VerifyAsset() public static method

public static VerifyAsset ( IAsset asset ) : void
asset IAsset
return void
        public static void VerifyAsset(IAsset asset)
        {
            Assert.IsNotNull(asset, "Asset should be non null");
            Assert.AreNotEqual(Guid.Empty, asset.Id, "Asset ID shuold not be null");
            Assert.IsNotNull(asset.Uri);
            Assert.AreEqual(AssetState.Initialized, asset.State, "Asset state wrong");
        }
AssetTests