public class AttributeAssert extends org.assertj.core.api.AbstractAssert<AttributeAssert,Attribute<?>>
Modifier | Constructor and Description |
---|---|
protected |
AttributeAssert(Attribute<?> actual) |
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
protected AttributeAssert(Attribute<?> actual)
public AttributeAssert isRequired()
public AttributeAssert isOptional()
public AttributeAssert isIdAttribute()
public AttributeAssert isNotIdAttribute()
public AttributeAssert hasDefaultValue(Object defaultValue)
public AttributeAssert hasNoDefaultValue()
public AttributeAssert hasOwningElementType(ModelElementType owningElementType)
public AttributeAssert hasValue(ModelElementInstance modelElementInstance)
public AttributeAssert hasValue(ModelElementInstance modelElementInstance, Object value)
public AttributeAssert hasNoValue(ModelElementInstance modelElementInstance)
public AttributeAssert hasAttributeName(String attributeName)
public AttributeAssert hasNamespaceUri(String namespaceUri)
public AttributeAssert hasNoNamespaceUri()
public AttributeAssert hasIncomingReferences()
public AttributeAssert hasIncomingReferences(Reference<?>... references)
public AttributeAssert hasNoIncomingReferences()
public AttributeAssert hasOutgoingReferences()
public AttributeAssert hasOutgoingReferences(Reference<?>... references)
public AttributeAssert hasNoOutgoingReferences()
Copyright © 2019. All rights reserved.