public void TestEmptyConstructor() { var attribute = new HypermediaAttribute(); Assume.That(attribute.Names, Is.EquivalentTo(new string[0])); }
public void TestConstructor() { var attribute = new HypermediaAttribute() {Names = new []{"test"}}; Assume.That(attribute.Names, Is.EquivalentTo(new[] { "test" })); }