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