Пример #1
0
        public SchemaGrainTests()
        {
            A.CallTo(() => appProvider.GetSchemaAsync(AppId, SchemaName))
            .Returns((ISchemaEntity)null);

            sut = new SchemaGrain(Store, A.Dummy <ISemanticLog>(), appProvider, TestUtils.DefaultSerializer);
            sut.ActivateAsync(Id).Wait();
        }
Пример #2
0
 public SchemaGrainTests()
 {
     sut = new SchemaGrain(Store, A.Dummy <ISemanticLog>());
     sut.ActivateAsync(Id).Wait();
 }
Пример #3
0
 public SchemaGrainTests()
 {
     sut = new SchemaGrain(Store, A.Dummy <ISemanticLog>(), TestUtils.DefaultSerializer);
     sut.ActivateAsync(Id).Wait();
 }