main.kotlin.ch.tutteli.atrium.domain.robstoll.creating.MapEntryAssertionsDeprecatedImpl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atrium-domain-robstoll-common
Show all versions of atrium-domain-robstoll-common
robstoll's <[email protected]> implementation of the domain of Atrium as common module
@file:Suppress("DEPRECATION" /* TODO remove annotation with 1.0.0 */)
package ch.tutteli.atrium.domain.robstoll.creating
import ch.tutteli.atrium.creating.AssertionPlant
import ch.tutteli.atrium.creating.AssertionPlantNullable
import ch.tutteli.atrium.domain.creating.MapEntryAssertions
import ch.tutteli.atrium.domain.robstoll.lib.creating.*
@Deprecated("Will be removed with 1.0.0")
abstract class MapEntryAssertionsDeprecatedImpl : MapEntryAssertions {
override fun isKeyValue(
plant: AssertionPlant>,
key: K,
value: V
) = _keyValue(plant, key, value)
override fun key(
plant: AssertionPlant>,
assertionCreator: AssertionPlant.() -> Unit
) = _key(plant, assertionCreator)
override fun value(
plant: AssertionPlant>,
assertionCreator: AssertionPlant.() -> Unit
) = _value(plant, assertionCreator)
override fun nullableKey(
plant: AssertionPlant>,
assertionCreator: AssertionPlantNullable.() -> Unit
) = _nullableKey(plant, assertionCreator)
override fun nullableValue(
plant: AssertionPlant>,
assertionCreator: AssertionPlantNullable.() -> Unit
) = _nullableValue(plant, assertionCreator)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy