Exemple #1
0
        public AssetFolderGrainTests()
        {
            A.CallTo(() => assetQuery.FindAssetFolderAsync(parentId))
            .Returns(new List <IAssetFolderEntity> {
                A.Fake <IAssetFolderEntity>()
            });

            sut = new AssetFolderGrain(Store, assetQuery, limit, A.Dummy <ISemanticLog>());
            sut.ActivateAsync(Id).Wait();
        }