public void SutIsEntityTypesProvider()
 {
     // Fixture setup
     // Exercise system
     var sut = new DbContextEntityTypesProvider(typeof(MockDbContext));
     // Verify outcome
     sut.Should().BeAssignableTo<IEntityTypesProvider>();
     // Teardown
 }
 public void AllEntityTypesReturned()
 {
     // Fixture setup
     var sut = new DbContextEntityTypesProvider(typeof (MockDbContext));
     // Exercise system
     var types = sut.GetTypes();
     // Verify outcome
     types.Should().BeEquivalentTo(typeof (Foo), typeof (Bar), typeof(Qux));
     // Teardown
 }
        public void SutIsEntityTypesProvider()
        {
            // Fixture setup
            // Exercise system
            var sut = new DbContextEntityTypesProvider(typeof(MockDbContext));

            // Verify outcome
            sut.Should().BeAssignableTo <IEntityTypesProvider>();
            // Teardown
        }
        public void AllEntityTypesReturnedForIDbSet()
        {
            // Fixture setup
            var sut = new DbContextEntityTypesProvider(typeof(MockDbContextIDbSet));
            // Exercise system
            var types = sut.GetTypes();

            // Verify outcome
            types.Should().BeEquivalentTo(typeof(Foo), typeof(Bar), typeof(Qux), typeof(Far), typeof(Boo), typeof(Qix));
            // Teardown
        }