All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.kotlin.ch.tutteli.atrium.logic.MapEntryAssertions.kt Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy