main.kotlin.ch.tutteli.atrium.logic.MapEntryAssertions.kt Maven / Gradle / Ivy
package ch.tutteli.atrium.logic
import ch.tutteli.atrium.assertions.Assertion
import ch.tutteli.atrium.creating.AssertionContainer
import ch.tutteli.atrium.logic.creating.transformers.FeatureExtractorBuilder
/**
* Collection of assertion functions and builders which are applicable to subjects with a [Map.Entry] type.
*/
interface MapEntryAssertions {
fun > isKeyValue(container: AssertionContainer, key: K, value: V): Assertion
fun > key(container: AssertionContainer): FeatureExtractorBuilder.ExecutionStep
fun > value(container: AssertionContainer): FeatureExtractorBuilder.ExecutionStep
}