public class ShouldHaveLabel
extends org.assertj.core.error.BasicErrorMessageFactory
Modifier and Type | Method and Description |
---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldHaveLabel(org.neo4j.graphdb.Node actual,
String labelValue)
Creates a new
ShouldHaveLabel . |
public static org.assertj.core.error.ErrorMessageFactory shouldHaveLabel(org.neo4j.graphdb.Node actual, String labelValue)
ShouldHaveLabel
.actual
- the actual value in the failed assertion.labelValue
- the key used in the failed assertion to compare the actual label value to.ErrorMessageFactory
.Copyright © 2017 AssertJ. All rights reserved.