public void should_require_id() { var section = new BasicSection(1, "name"); section.SectionId.Should().Be(1); }
public void should_require_name() { var section = new BasicSection(1, "name"); section.Name.Should().Be("name"); }
public void should_accept_any_content() { var section = new BasicSection(1, "name"); section.AddContent(new ContentElement(-1, Language.Invariant, ContentType.Text)); section.GetContent().Count().Should().Be(1); }