Пример #1
0
        public void ShouldThrowGenerateAssetFilesFromStorageIfAssetIsNull()
        {
            IAsset nullAsset = null;

            try
            {
                nullAsset.GenerateFromStorage();
            }
            catch (AggregateException exception)
            {
                Assert.IsInstanceOfType(exception.InnerException, typeof(ArgumentNullException));
                throw;
            }
        }