public abstract class AbstractClusterAssert<S extends AbstractClusterAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Cluster>
extends org.assertj.core.api.AbstractAssert<S,A>
Cluster
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractClusterAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Cluster. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Cluster's additionalProperties is equal to the given one.
|
S |
hasApiVersion(String apiVersion)
Verifies that the actual Cluster's apiVersion is equal to the given one.
|
S |
hasCertificateAuthority(String certificateAuthority)
Verifies that the actual Cluster's certificateAuthority is equal to the given one.
|
S |
hasCertificateAuthorityData(String certificateAuthorityData)
Verifies that the actual Cluster's certificateAuthorityData is equal to the given one.
|
S |
hasExtensions(io.fabric8.kubernetes.api.model.NamedExtension... extensions)
Verifies that the actual Cluster's extensions contains the given NamedExtension elements.
|
S |
hasInsecureSkipTlsVerify(Boolean insecureSkipTlsVerify)
Verifies that the actual Cluster's insecureSkipTlsVerify is equal to the given one.
|
S |
hasNoExtensions()
Verifies that the actual Cluster has no extensions.
|
S |
hasServer(String server)
Verifies that the actual Cluster's server 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 AbstractClusterAssert(A actual, Class<S> selfType)
AbstractClusterAssert
to make assertions on actual Cluster.actual
- the Cluster we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual Cluster's additionalProperties to.AssertionError
- - if the actual Cluster's additionalProperties is not equal to the given one.public S hasApiVersion(String apiVersion)
apiVersion
- the given apiVersion to compare the actual Cluster's apiVersion to.AssertionError
- - if the actual Cluster's apiVersion is not equal to the given one.public S hasCertificateAuthority(String certificateAuthority)
certificateAuthority
- the given certificateAuthority to compare the actual Cluster's certificateAuthority to.AssertionError
- - if the actual Cluster's certificateAuthority is not equal to the given one.public S hasCertificateAuthorityData(String certificateAuthorityData)
certificateAuthorityData
- the given certificateAuthorityData to compare the actual Cluster's certificateAuthorityData to.AssertionError
- - if the actual Cluster's certificateAuthorityData is not equal to the given one.public S hasExtensions(io.fabric8.kubernetes.api.model.NamedExtension... extensions)
extensions
- the given elements that should be contained in actual Cluster's extensions.AssertionError
- if the actual Cluster's extensions does not contain all given NamedExtension elements.public S hasNoExtensions()
AssertionError
- if the actual Cluster's extensions is not empty.public S hasInsecureSkipTlsVerify(Boolean insecureSkipTlsVerify)
insecureSkipTlsVerify
- the given insecureSkipTlsVerify to compare the actual Cluster's insecureSkipTlsVerify to.AssertionError
- - if the actual Cluster's insecureSkipTlsVerify is not equal to the given one.public S hasServer(String server)
server
- the given server to compare the actual Cluster's server to.AssertionError
- - if the actual Cluster's server is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.