public void BuildContainer_ContainerHasAllExpectedServices(
            ContainerBuilder builder,
            RepositoryModule sut)
        {
            // Given
            var expectedServices = new[] { typeof(IUnitOfWork), typeof(IRepository<>) };

            // When
            builder.RegisterModule(sut);
            var container = builder.Build();

            // Then
            Assert.True(expectedServices.All(container.IsRegistered));
        }
 public void Constructor_SutIsModule(RepositoryModule sut)
 {
     // Then
     Assert.IsAssignableFrom<IModule>(sut);
 }