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