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