Ejemplo n.º 1
0
 public void should_require_id()
 {
     var section = new BasicSection(1, "name");
     section.SectionId.Should().Be(1);
 }
Ejemplo n.º 2
0
 public void should_require_name()
 {
     var section = new BasicSection(1, "name");
     section.Name.Should().Be("name");
 }
Ejemplo n.º 3
0
 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);
 }