public void When_creating_structureSection_with_structure_it_should_set_property() { const string myStructure = nameof(myStructure); // Act StructureSection structure = new TestStructureSection(myStructure); // Assert structure.Structure.Should().Be(myStructure); }
public void When_creating_structureSection_it_should_initialize_properties() { // Act StructureSection structure = new TestStructureSection(); // Assert structure.Structure.Should().BeEmpty(); structure.Example.Should().BeEmpty(); structure.Length.Should().Be(0); structure.Position.Should().Be(0); }