private MediaContextBase GetMediaContextBase(List <IStorageAccount> storageAccounts) { StorageAccountBaseCollectionMock collection = null; if (storageAccounts != null) { collection = new StorageAccountBaseCollectionMock(storageAccounts.AsQueryable <IStorageAccount>()); } return(new MediaContextBaseMock(collection)); }
private MediaContextBase GetMediaContextBase(List<IStorageAccount> storageAccounts) { StorageAccountBaseCollectionMock collection = null; if (storageAccounts != null) { collection = new StorageAccountBaseCollectionMock(storageAccounts.AsQueryable<IStorageAccount>()); } return new MediaContextBaseMock(collection); }