public void MultipleTransactionCommits_ThrowsError()
        {
            // Arrange
            var context  = new FakeFrameworkContext();
            var provider = GroupedProviderMockHelper.MockEntityRepositoryFactory(1, new ProviderMetadata("test", new Uri("test://"), true, false), context);
            var factory  = new ProviderUnitFactory(provider);

            // Act
            using (var uow = factory.Create())
            {
                uow.Complete();
                Assert.Throws <TransactionCompletedException>(uow.Complete, "Second completion did not throw exception");
            }
        }