public abstract class AbstractNamedClusterRoleAssert<S extends AbstractNamedClusterRoleAssert<S,A>,A extends io.fabric8.openshift.api.model.NamedClusterRole>
extends org.assertj.core.api.AbstractAssert<S,A>
NamedClusterRole
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractNamedClusterRoleAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual NamedClusterRole. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual NamedClusterRole's additionalProperties is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual NamedClusterRole's name is equal to the given one.
|
S |
hasRole(io.fabric8.openshift.api.model.ClusterRole role)
Verifies that the actual NamedClusterRole's role is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
protected AbstractNamedClusterRoleAssert(A actual, Class<S> selfType)
AbstractNamedClusterRoleAssert
to make assertions on actual NamedClusterRole.actual
- the NamedClusterRole we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual NamedClusterRole's additionalProperties to.AssertionError
- - if the actual NamedClusterRole's additionalProperties is not equal to the given one.public S hasName(String name)
name
- the given name to compare the actual NamedClusterRole's name to.AssertionError
- - if the actual NamedClusterRole's name is not equal to the given one.public S hasRole(io.fabric8.openshift.api.model.ClusterRole role)
role
- the given role to compare the actual NamedClusterRole's role to.AssertionError
- - if the actual NamedClusterRole's role is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.