public void CanBuy(SectionId sectionId, bool expectedResult) { bool canBuy = WebSettingsConfig.Instance.CanBuy(sectionId); Assert.That(canBuy, Is.EqualTo(expectedResult)); }
public void GetSalesSettingsNull(SectionId sectionId) { ISalesSettings salesSettings = WebSettingsConfig.Instance.GetSalesSettings(sectionId); Assert.That(salesSettings, Is.Null); }
public void Add(SectionId sectionId, DescriptionSection section) { _sections.Add(sectionId, section); Items.Add(sectionId); }