public class AttributeAssert extends org.assertj.core.api.AbstractAssert<AttributeAssert,Attribute<?>>
Modifier | Constructor and Description |
---|---|
protected |
AttributeAssert(Attribute<?> actual) |
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
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 © 2022. All rights reserved.