public void GetPageRepository_should_default_to_sqlserver_lightspeedrepository()
		{
			// Arrange
			string provider = "anything";
			string connectionString = "connection-string";
			var factory = new RepositoryFactory(provider, connectionString);
			SetUnitOfWork(factory);

			// Act
			IPageRepository repository = factory.GetPageRepository(provider, connectionString);

			// Assert
			LightSpeedPageRepository lightSpeedRepository = repository as LightSpeedPageRepository;
			Assert.That(lightSpeedRepository, Is.Not.Null);
		}
		public void GetPageRepository_should_return_mongodb_repository()
		{
			// Arrange
			string provider = "MONGODB";
			string connectionString = "mongodb-connection-string";
			var factory = new RepositoryFactory(provider, connectionString);
			SetUnitOfWork(factory);

			// Act
			IPageRepository repository = factory.GetPageRepository(provider, connectionString);

			// Assert
			MongoDBPageRepository mongoDbRepository = repository as MongoDBPageRepository;
			Assert.That(mongoDbRepository, Is.Not.Null);
			Assert.That(mongoDbRepository.ConnectionString, Is.EqualTo(connectionString));
		}
		public void GetPageRepository_should_return_correct_lightspeedrepository(string provider, string connectionString, DataProvider expectedProvider)
		{
			// Arrange
			var factory = new RepositoryFactory(provider, connectionString);
			SetUnitOfWork(factory);

			// Act
			IPageRepository repository = factory.GetPageRepository(provider, connectionString);

			// Assert
			LightSpeedPageRepository lightSpeedRepository = repository as LightSpeedPageRepository;
            Assert.That(lightSpeedRepository, Is.Not.Null);
		}