Package | Description |
---|---|
org.springframework.cloud.contract.verifier.assertion |
Modifier and Type | Method and Description |
---|---|
ContractCollectionAssert<ELEMENT> |
ContractCollectionAssert.allElementsMatch(String regex)
Asserts all elements of the collection whether they match a regular expression.
|
ContractCollectionAssert<ELEMENT> |
ContractCollectionAssert.as(String description,
Object... args) |
static <ELEMENT> ContractCollectionAssert<ELEMENT> |
SpringCloudContractAssertions.assertThat(Collection<? extends ELEMENT> actual)
Creates a new instance of
. |
ContractCollectionAssert<ELEMENT> |
ContractCollectionAssert.hasFlattenedSizeBetween(int lowerBound,
int higherBound)
Flattens the collection and checks whether size is between the provided value.
|
ContractCollectionAssert<ELEMENT> |
ContractCollectionAssert.hasFlattenedSizeGreaterThanOrEqualTo(int size)
Flattens the collection and checks whether size is greater than or equal to the
provided value.
|
ContractCollectionAssert<ELEMENT> |
ContractCollectionAssert.hasFlattenedSizeLessThanOrEqualTo(int size)
Flattens the collection and checks whether size is less than or equal to the
provided value.
|
ContractCollectionAssert<ELEMENT> |
ContractCollectionAssert.hasSizeBetween(int lowerBound,
int higherBound)
Checks whether size is between the provided value.
|
ContractCollectionAssert<ELEMENT> |
ContractCollectionAssert.hasSizeGreaterThanOrEqualTo(int size)
Checks whether size is greater than or equal to the provided value.
|
ContractCollectionAssert<ELEMENT> |
ContractCollectionAssert.hasSizeLessThanOrEqualTo(int size)
Checks whether size is less than or equal to the provided value.
|
Copyright © 2016–2022 Spring. All rights reserved.