Package | Description |
---|---|
org.springframework.boot.test.util |
General purpose test utilities.
|
Modifier and Type | Method and Description |
---|---|
static TestPropertyValues.Pair |
TestPropertyValues.Pair.fromMapEntry(Map.Entry<String,String> entry)
Factory method to create a
TestPropertyValues.Pair from a Map.Entry . |
static TestPropertyValues.Pair |
TestPropertyValues.Pair.of(String name,
String value)
Factory method to create a
TestPropertyValues.Pair from a name and value. |
static TestPropertyValues.Pair |
TestPropertyValues.Pair.parse(String pair) |
Modifier and Type | Method and Description |
---|---|
<T> TestPropertyValues |
TestPropertyValues.and(Stream<T> stream,
Function<T,TestPropertyValues.Pair> mapper)
Return a new
TestPropertyValues instance with additional entries. |
static <T> TestPropertyValues |
TestPropertyValues.of(Stream<T> stream,
Function<T,TestPropertyValues.Pair> mapper)
Return a new
TestPropertyValues with the underlying map populated with the
given stream. |