@@ -92,13 +92,24 @@ TEST(@"-[addAttributeWithName:namespace:stringValue:]", R([elem[1] addAttributeWithName: @"foo" namespace: @"urn:objfw:test" stringValue: @"bar"]) && + R([elem[1] addAttributeWithName: @"foo" + namespace: @"urn:objfw:test" + stringValue: @"ignored"]) && [[elem[1] stringValue] isEqual: @"b&ar"]) + TEST(@"-[removeAttributeForName:namespace:]", + R([elem[1] removeAttributeForName: @"foo"]) && + [[elem[1] stringValue] isEqual: + @"b&ar"] && + R([elem[1] removeAttributeForName: @"foo" + namespace: @"urn:objfw:test"]) && + [[elem[1] stringValue] isEqual: @"b&ar"]) + TEST(@"-[addChild:]", R([elem[0] addChild: [OFXMLElement elementWithName: @"bar"]]) && [[elem[0] stringValue] isEqual: @""] && R([elem[2] addChild: [OFXMLElement elementWithName: @"bar"