of

open fun of(pairs: Array<String>): TestPropertyValues
open fun of(pairs: Stream<String>): TestPropertyValues

Return a new TestPropertyValues with the underlying map populated with the given property pairs. Name-value pairs can be specified with colon (":") or equals ("=") separators.

Return

the new instance

Parameters

pairs

the name-value pairs for properties that need to be added to theenvironment


Return a new TestPropertyValues with the underlying map populated with the given map entries.

Return

the new instance

Parameters

map

the map of properties that need to be added to the environment


open fun <T> of(stream: Stream<T>, mapper: (T) -> TestPropertyValues.Pair): TestPropertyValues

Return a new TestPropertyValues with the underlying map populated with the given stream.

Return

the new instance

Parameters

<T>

the stream element type

stream

the elements that need to be added to the environment

mapper

a mapper function to convert an element from the stream into a Pair