Package org.xmlunit.assertj3.error
Class ShouldNotHaveAttribute
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.xmlunit.assertj3.error.ShouldNotHaveAttribute
-
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ShouldNotHaveAttribute extends org.assertj.core.error.BasicErrorMessageFactory
- Since:
- XMLUnit 2.8.1
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldNotHaveAttribute(java.lang.String nodeName, java.lang.String attributeName)
private
ShouldNotHaveAttribute(java.lang.String nodeName, java.lang.String attributeName, java.lang.String attributeValue)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.assertj.core.error.ErrorMessageFactory
shouldNotHaveAttribute(java.lang.String nodeName, java.lang.String attributeName)
static org.assertj.core.error.ErrorMessageFactory
shouldNotHaveAttributeWithValue(java.lang.String nodeName, java.lang.String attributeName, java.lang.String attributeValue)
-
-
-
Method Detail
-
shouldNotHaveAttribute
public static org.assertj.core.error.ErrorMessageFactory shouldNotHaveAttribute(java.lang.String nodeName, java.lang.String attributeName)
- Parameters:
nodeName
- name of elementattributeName
- name of attribute- Returns:
- ErrorMessageFactory when element has attribute
-
shouldNotHaveAttributeWithValue
public static org.assertj.core.error.ErrorMessageFactory shouldNotHaveAttributeWithValue(java.lang.String nodeName, java.lang.String attributeName, java.lang.String attributeValue)
- Parameters:
nodeName
- name of elementattributeName
- name of attributeattributeValue
- not-expected value of attribute- Returns:
- ErrorMessageFactory when element has attribute with value
-
-