Class NodeAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<NodeAssert,Node>
io.spring.initializr.generator.test.io.NodeAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<NodeAssert,Node>, org.assertj.core.api.AssertProvider<NodeAssert>, org.assertj.core.api.Descriptable<NodeAssert>, org.assertj.core.api.ExtensionPoints<NodeAssert,Node>

public class NodeAssert extends org.assertj.core.api.AbstractAssert<NodeAssert,Node> implements org.assertj.core.api.AssertProvider<NodeAssert>
AssertJ AssertProvider for Node assertions.
Author:
Andy Wilkinson
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Constructor Summary

    Constructors
    Constructor
    Description
    NodeAssert(String xmlContent)
     
    NodeAssert(Path xmlFile)
     
    NodeAssert(Node actual)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    org.assertj.core.api.ListAssert<Node>
     
    org.assertj.core.api.StringAssert
     

    Methods inherited from class org.assertj.core.api.AbstractAssert

    areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.assertj.core.api.Descriptable

    as, as, as, describedAs, describedAs
  • Constructor Details

    • NodeAssert

      public NodeAssert(Path xmlFile)
    • NodeAssert

      public NodeAssert(String xmlContent)
    • NodeAssert

      public NodeAssert(Node actual)
  • Method Details

    • nodeAtPath

      public NodeAssert nodeAtPath(String xpath)
    • nodesAtPath

      public org.assertj.core.api.ListAssert<Node> nodesAtPath(String xpath)
    • textAtPath

      public org.assertj.core.api.StringAssert textAtPath(String xpath)
    • assertThat

      public NodeAssert assertThat()
      Specified by:
      assertThat in interface org.assertj.core.api.AssertProvider<NodeAssert>