public class LeaseAssert extends AbstractLeaseAssert<LeaseAssert,io.fabric8.kubernetes.api.model.coordination.v1.Lease>
Lease
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractLeaseAssert
instead.Constructor and Description |
---|
LeaseAssert(io.fabric8.kubernetes.api.model.coordination.v1.Lease actual)
Creates a new
to make assertions on actual Lease. |
Modifier and Type | Method and Description |
---|---|
static LeaseAssert |
assertThat(io.fabric8.kubernetes.api.model.coordination.v1.Lease actual)
An entry point for LeaseAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myLease) 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 LeaseAssert(io.fabric8.kubernetes.api.model.coordination.v1.Lease actual)
LeaseAssert
to make assertions on actual Lease.actual
- the Lease we want to make assertions on.public static LeaseAssert assertThat(io.fabric8.kubernetes.api.model.coordination.v1.Lease actual)
assertThat()
statements.assertThat(myLease)
and get specific assertion with code completion.actual
- the Lease we want to make assertions on.LeaseAssert
Copyright © 2020. All rights reserved.