Esempio n. 1
0
        public AppUISettingsGrainTests()
        {
            A.CallTo(() => store.WithSnapshots(typeof(AppUISettingsGrain), Guid.Empty, A <HandleSnapshot <AppUISettingsGrain.GrainState> > .Ignored))
            .Returns(persistence);

            sut = new AppUISettingsGrain(store);
            sut.ActivateAsync(Guid.Empty).Wait();
        }
Esempio n. 2
0
        public AppUISettingsGrainTests()
        {
            A.CallTo(() => store.WithSnapshots(A <Type> .Ignored, A <Guid> .Ignored, A <Func <JObject, Task> > .Ignored))
            .Returns(persistence);

            sut = new AppUISettingsGrain(store);
            sut.OnActivateAsync(Guid.Empty).Wait();
        }
 public AppUISettingsGrainTests()
 {
     sut = new AppUISettingsGrain(grainState);
 }
Esempio n. 4
0
 public AppUISettingsGrainTests()
 {
     sut = new AppUISettingsGrain(grainState);
     sut.ActivateAsync(Guid.Empty).Wait();
 }