Beispiel #1
0
        public void Test_SiteModel_SetCSIB(string csib)
        {
            var siteModel = new SiteModel(Guid.NewGuid(), TRex.Storage.Models.StorageMutability.Immutable, false);

            siteModel.CSIBLoaded.Should().Be(false);

            siteModel.SetCSIB(csib);

            // Setting a CSIB does not load it
            siteModel.CSIBLoaded.Should().Be(false);

            var _ = siteModel.CSIB();

            siteModel.CSIBLoaded.Should().Be(true);
        }