Interface BooleanNodeDsl<A>

Type Parameters:
A - the overall type of the assertion
All Superinterfaces:
Satisfies<A>
All Known Subinterfaces:
JsonNodeAssertDsl<A>
All Known Implementing Classes:
AssertJson, BooleanNodes, ConditionList, CoreJsonAssertion, HamcrestJsonAssertion, HamcrestJsonAssertionBuilder, JsonAssertDslBuilders.At, PathDsl

public interface BooleanNodeDsl<A> extends Satisfies<A>
Assertions for Boolean nodes
  • Method Summary

    Modifier and Type
    Method
    Description
    default A
    Assert that the node is boolean
    default A
    Assert that the node is boolean false
    default A
    Assert that the node is not boolean
    default A
    Assert that the node is boolean true

    Methods inherited from interface uk.org.webcompere.modelassert.json.dsl.Satisfies

    satisfies, satisfies
  • Method Details

    • isTrue

      default A isTrue()
      Assert that the node is boolean true
      Returns:
      the assertion for fluent assertions, with this condition added
    • isFalse

      default A isFalse()
      Assert that the node is boolean false
      Returns:
      the assertion for fluent assertions, with this condition added
    • isBoolean

      default A isBoolean()
      Assert that the node is boolean
      Returns:
      the assertion for fluent assertions, with this condition added
    • isNotBoolean

      default A isNotBoolean()
      Assert that the node is not boolean
      Returns:
      the assertion for fluent assertions, with this condition added