Assertions
.Path
Path
Node
does NOT have the given label namelabelValue
is null
, an IllegalArgumentException
is thrown.Node
does NOT have the given labellabel
is null
, an IllegalArgumentException
is thrown.PropertyContainer
does not have a property with given key and value.PropertyContainer
does not have the given property keykey
is null
, an IllegalArgumentException
is thrown.Relationship
does not have the given typenode
is null
, an IllegalArgumentException
is thrown.Relationship
does not have the given type namenode
is null
, an IllegalArgumentException
is thrown.Path
does not start with the given nodeRelationship
does not start with the given nodenode
is null
, an IllegalArgumentException
is thrown.Path
ends with the given nodeRelationship
ends with the given nodenode
is null
, an IllegalArgumentException
is thrown.Path
Node
has the given label namelabelValue
is null
, an IllegalArgumentException
is thrown.Node
has the given labellabel
is null
, an IllegalArgumentException
is thrown.PropertyContainer
has the given property key with the given valuesize
is negative, an IllegalArgumentException
is thrown.PropertyContainer
has the given property keykey
is null
, an IllegalArgumentException
is thrown.Relationship
has the given typerelationshipType
is null
, an IllegalArgumentException
is thrown.Relationship
has the given type namerelationshipTypeName
is null
, an IllegalArgumentException
is thrown.Node
Path
PropertyContainer
Relationship
ShouldEndWithNode
.ShouldEndWithNode
.ShouldEndWithRelationship
.ShouldHaveLabel
.ShouldHaveLength
.ShouldHaveProperty
.ShouldHavePropertyKey
.ShouldHaveRelationshipType
.ShouldNotEndWithNode
.ShouldNotEndWithNode
.ShouldNotEndWithRelationship
.ShouldNotHaveLabel
.ShouldNotHaveProperty
.ShouldNotHavePropertyKey
.ShouldNotHaveRelationshipType
.ShouldNotStartWithNode
.ShouldNotStartWithNode
.ShouldStartOrEndWithNode
.ShouldStartWithNode
.ShouldStartWithNode
.Relationship
either starts or ends with the given nodenode
is null
, an IllegalArgumentException
is thrown.Path
starts with the given nodeRelationship
starts with the given nodenode
is null
, an IllegalArgumentException
is thrown.Copyright © 2017 AssertJ. All rights reserved.