// TODO remove file with 1.0.0
@file:Suppress("DEPRECATION", "TYPEALIAS_EXPANSION_DEPRECATION")

package ch.tutteli.atrium.assertions

import ch.tutteli.atrium.creating.AssertionPlant
import ch.tutteli.atrium.creating.AssertionPlantNullable
import ch.tutteli.atrium.domain.builders.AssertImpl

@Deprecated("Use AssertImpl.any.toBe; will be removed with 1.0.0",
    ReplaceWith(
        "AssertImpl.any.toBe(plant, expected)",
        "ch.tutteli.atrium.creating.AssertImpl"
    )
)
fun <T : Any> _toBe(plant: AssertionPlant<T>, expected: T): Assertion
    = AssertImpl.any.toBe(plant, expected)

@Deprecated("Use AssertImpl.any.notToBe; will be removed with 1.0.0",
    ReplaceWith(
        "AssertImpl.any.notToBe(plant, expected)",
        "ch.tutteli.atrium.creating.AssertImpl"
    )
)
fun <T : Any> _notToBe(plant: AssertionPlant<T>, expected: T): Assertion
    = AssertImpl.any.notToBe(plant, expected)

@Deprecated("Use AssertImpl.any.isSame; will be removed with 1.0.0",
    ReplaceWith(
        "AssertImpl.any.isSame(plant, expected)",
        "ch.tutteli.atrium.creating.AssertImpl"
    )
)
fun <T : Any> _isSame(plant: AssertionPlant<T>, expected: T): Assertion
    = AssertImpl.any.isSame(plant, expected)

@Deprecated("Use AssertImpl.any.isNotSame; will be removed with 1.0.0",
    ReplaceWith(
        "AssertImpl.any.isNotSame(plant, expected)",
        "ch.tutteli.atrium.creating.AssertImpl"
    )
)
fun <T : Any> _isNotSame(plant: AssertionPlant<T>, expected: T): Assertion
    = AssertImpl.any.isNotSame(plant, expected)

@Deprecated("Use AssertImpl.any.toBeNull; will be removed with 1.0.0",
    ReplaceWith(
        "AssertImpl.any.toBeNull(plant)",
        "ch.tutteli.atrium.creating.AssertImpl"
    )
)
fun <T : Any?> _isNull(plant: AssertionPlantNullable<T>): Assertion
    = AssertImpl.any.toBeNull(plant)
