Class ShouldNotHaveAttribute

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.xmlunit.assertj.error.ShouldNotHaveAttribute
All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory

public class ShouldNotHaveAttribute extends org.assertj.core.error.BasicErrorMessageFactory
Since:
XMLUnit 2.6.1
  • Field Summary

    Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory

    arguments, format
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.assertj.core.error.ErrorMessageFactory
    shouldNotHaveAttribute(String nodeName, String attributeName)
     
    static org.assertj.core.error.ErrorMessageFactory
    shouldNotHaveAttributeWithValue(String nodeName, String attributeName, String attributeValue)
     

    Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory

    create, create, create, equals, hashCode, toString, unquotedString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • shouldNotHaveAttribute

      public static org.assertj.core.error.ErrorMessageFactory shouldNotHaveAttribute(String nodeName, String attributeName)
      Parameters:
      nodeName - name of element
      attributeName - name of attribute
      Returns:
      ErrorMessageFactory when element has attribute
    • shouldNotHaveAttributeWithValue

      public static org.assertj.core.error.ErrorMessageFactory shouldNotHaveAttributeWithValue(String nodeName, String attributeName, String attributeValue)
      Parameters:
      nodeName - name of element
      attributeName - name of attribute
      attributeValue - not-expected value of attribute
      Returns:
      ErrorMessageFactory when element has attribute with value