public class ShouldHaveAttribute
extends org.assertj.core.error.BasicErrorMessageFactory
| Modifier and Type | Method and Description |
|---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldHaveAttribute(String nodeName,
String attributeName) |
static org.assertj.core.error.ErrorMessageFactory |
shouldHaveAttributeWithValue(String nodeName,
String attributeName,
String attributeValue) |
public static org.assertj.core.error.ErrorMessageFactory shouldHaveAttribute(String nodeName, String attributeName)
nodeName - name of elementattributeName - name of attributepublic static org.assertj.core.error.ErrorMessageFactory shouldHaveAttributeWithValue(String nodeName, String attributeName, String attributeValue)
nodeName - name of elementattributeName - name of attributeattributeValue - expected value of attributeCopyright © 2001–2025 XMLUnit. All rights reserved.