public void Returns_typed_database_object()
        {
            var database = new ConcreteRelationalDatabase(
                new DbContextService <IModel>(() => null),
                Mock.Of <DataStoreCreator>(),
                Mock.Of <DataStoreConnection>(),
                new LoggerFactory());

            Assert.Same(database, database.AsRelational());
        }
        public void Returns_typed_database_object()
        {
            var database = new ConcreteRelationalDatabase(
                TestHelpers.Instance.CreateContext(),
                Mock.Of <IRelationalDataStoreCreator>(),
                Mock.Of <IRelationalConnection>(),
                Mock.Of <Migrator>(),
                new LoggerFactory());

            Assert.Same(database, database.AsRelational());
        }
        public void Returns_typed_database_object()
        {
            var database = new ConcreteRelationalDatabase(
                TestHelpers.Instance.CreateContext(),
                Mock.Of<IRelationalDataStoreCreator>(),
                Mock.Of<IRelationalConnection>(),
                Mock.Of<Migrator>(),
                new LoggerFactory());

            Assert.Same(database, database.AsRelational());
        }