Ejemplo n.º 1
0
        public GrainTextIndexerTests()
        {
            A.CallTo(() => grainFactory.GetGrain <ITextIndexerGrain>(schemaId, null))
            .Returns(grain);

            sut = new GrainTextIndexer(grainFactory, A.Fake <ISemanticLog>());
        }
        public GrainTextIndexerTests()
        {
            app = Mocks.App(appId);

            A.CallTo(() => grainFactory.GetGrain <ITextIndexerGrain>(schemaId.Id, null))
            .Returns(grain);

            sut = new GrainTextIndexer(grainFactory);
        }