Example #1
0
        public SchemaCommandMiddlewareTests()
        {
            schema = new SchemaDomainObject(SchemaId, -1, registry);

            sut = new SchemaCommandMiddleware(Handler, appProvider);

            A.CallTo(() => appProvider.GetSchemaAsync(AppName, SchemaName, false))
                .Returns((ISchemaEntity)null);
        }
Example #2
0
        public SchemaCommandMiddlewareTests()
        {
            schema = new SchemaDomainObject(SchemaId, -1, registry);

            sut = new SchemaCommandMiddleware(Handler, schemas);

            A.CallTo(() => schemas.FindSchemaByNameAsync(AppId, SchemaName))
            .Returns((ISchemaEntity)null);
        }
Example #3
0
        public SchemaCommandMiddlewareTests()
        {
            schema = new SchemaDomainObject(SchemaId, -1, registry);

            sut = new SchemaCommandMiddleware(Handler, schemas);
        }