public class NetworkPolicyAssert extends AbstractNetworkPolicyAssert<NetworkPolicyAssert,io.fabric8.kubernetes.api.model.networking.NetworkPolicy>
NetworkPolicy
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractNetworkPolicyAssert
instead.Constructor and Description |
---|
NetworkPolicyAssert(io.fabric8.kubernetes.api.model.networking.NetworkPolicy actual)
Creates a new
to make assertions on actual NetworkPolicy. |
Modifier and Type | Method and Description |
---|---|
static NetworkPolicyAssert |
assertThat(io.fabric8.kubernetes.api.model.networking.NetworkPolicy actual)
An entry point for NetworkPolicyAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myNetworkPolicy) and get specific assertion with code completion. |
additionalProperties, apiVersion, kind, metadata, spec
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
public NetworkPolicyAssert(io.fabric8.kubernetes.api.model.networking.NetworkPolicy actual)
NetworkPolicyAssert
to make assertions on actual NetworkPolicy.actual
- the NetworkPolicy we want to make assertions on.public static NetworkPolicyAssert assertThat(io.fabric8.kubernetes.api.model.networking.NetworkPolicy actual)
assertThat()
statements.assertThat(myNetworkPolicy)
and get specific assertion with code completion.actual
- the NetworkPolicy we want to make assertions on.NetworkPolicyAssert
Copyright © 2020. All rights reserved.