public void ComponentPropertiesAreSetcorrectly() { var root = new Root("root"); var component = root.Component; component.Name.Should().BeNullOrEmpty(); component.Rename("newName"); component.Name.Should().Be("newName"); }