public void InitializedBootstrapperShouldHaveEmptyCatalog() { var sut = new TestBootstrapperBehavior(null); sut.Should().NotBeNull(); sut.Catalog.Should().NotBeNull(); sut.Catalog.Catalogs.Should().HaveCount(0); }
public void BootstrapperShouldContainAddedCatalog() { var catalog = new AssemblyCatalog(typeof(BootstrapperBehaviorTest).Assembly); var sut = new TestBootstrapperBehavior(null); sut.Should().NotBeNull(); sut.Catalog.Should().NotBeNull(); sut.AddCatalog(catalog); sut.Catalog.Catalogs.Should().HaveCount(1); sut.Catalog.Catalogs.Should().Contain(catalog); }