public abstract class AbstractUserFluentAssert<S extends AbstractUserFluentAssert<S,A>,A extends io.fabric8.openshift.api.model.UserFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
UserFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractUserFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual UserFluent. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual UserFluent's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.openshift.api.model.User.ApiVersion apiVersion)
Verifies that the actual UserFluent's apiVersion is equal to the given one.
|
S |
hasFullName(String fullName)
Verifies that the actual UserFluent's fullName is equal to the given one.
|
S |
hasGroups(String... groups)
Verifies that the actual UserFluent's groups contains the given String elements.
|
S |
hasIdentities(String... identities)
Verifies that the actual UserFluent's identities contains the given String elements.
|
S |
hasKind(String kind)
Verifies that the actual UserFluent's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual UserFluent's metadata is equal to the given one.
|
S |
hasNoGroups()
Verifies that the actual UserFluent has no groups.
|
S |
hasNoIdentities()
Verifies that the actual UserFluent has no identities.
|
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 AbstractUserFluentAssert(A actual, Class<S> selfType)
AbstractUserFluentAssert
to make assertions on actual UserFluent.actual
- the UserFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual UserFluent's additionalProperties to.AssertionError
- - if the actual UserFluent's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.openshift.api.model.User.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual UserFluent's apiVersion to.AssertionError
- - if the actual UserFluent's apiVersion is not equal to the given one.public S hasFullName(String fullName)
fullName
- the given fullName to compare the actual UserFluent's fullName to.AssertionError
- - if the actual UserFluent's fullName is not equal to the given one.public S hasGroups(String... groups)
groups
- the given elements that should be contained in actual UserFluent's groups.AssertionError
- if the actual UserFluent's groups does not contain all given String elements.public S hasNoGroups()
AssertionError
- if the actual UserFluent's groups is not empty.public S hasIdentities(String... identities)
identities
- the given elements that should be contained in actual UserFluent's identities.AssertionError
- if the actual UserFluent's identities does not contain all given String elements.public S hasNoIdentities()
AssertionError
- if the actual UserFluent's identities is not empty.public S hasKind(String kind)
kind
- the given kind to compare the actual UserFluent's kind to.AssertionError
- - if the actual UserFluent's kind is not equal to the given one.public S hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
metadata
- the given metadata to compare the actual UserFluent's metadata to.AssertionError
- - if the actual UserFluent's metadata is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.