コード例 #1
0
        public void CanBuy(SectionId sectionId, bool expectedResult)
        {
            bool canBuy = WebSettingsConfig.Instance.CanBuy(sectionId);

            Assert.That(canBuy, Is.EqualTo(expectedResult));
        }
コード例 #2
0
        public void GetSalesSettingsNull(SectionId sectionId)
        {
            ISalesSettings salesSettings = WebSettingsConfig.Instance.GetSalesSettings(sectionId);

            Assert.That(salesSettings, Is.Null);
        }
コード例 #3
0
 public void Add(SectionId sectionId, DescriptionSection section)
 {
     _sections.Add(sectionId, section);
     Items.Add(sectionId);
 }