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

main.kotlin.ch.tutteli.atrium.domain.robstoll.creating.CharSequenceAssertionsImpl.kt Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
//TODO remove file with 1.0.0
@file:Suppress("DEPRECATION")
package ch.tutteli.atrium.domain.robstoll.creating

import ch.tutteli.atrium.creating.Expect
import ch.tutteli.atrium.creating.SubjectProvider
import ch.tutteli.atrium.domain.creating.CharSequenceAssertions
import ch.tutteli.atrium.domain.robstoll.lib.creating.*

@Deprecated("Will be removed with 1.0.0")
class CharSequenceAssertionsImpl : CharSequenceAssertions {

    override fun  containsBuilder(subjectProvider: SubjectProvider) =
        _containsBuilder(subjectProvider)

    override fun  containsNotBuilder(subjectProvider: SubjectProvider) =
        _containsNotBuilder(subjectProvider)


    override fun startsWith(subjectProvider: SubjectProvider, expected: CharSequence) =
        _startsWith(subjectProvider, expected)

    override fun startsNotWith(subjectProvider: SubjectProvider, expected: CharSequence) =
        _startsNotWith(subjectProvider, expected)

    override fun endsWith(subjectProvider: SubjectProvider, expected: CharSequence) =
        _endsWith(subjectProvider, expected)

    override fun endsNotWith(subjectProvider: SubjectProvider, expected: CharSequence) =
        _endsNotWith(subjectProvider, expected)

    override fun isEmpty(subjectProvider: SubjectProvider) = _isEmpty(subjectProvider)

    override fun isNotEmpty(subjectProvider: SubjectProvider) = _isNotEmpty(subjectProvider)

    override fun isNotBlank(subjectProvider: SubjectProvider) = _isNotBlank(subjectProvider)

    override fun  matches(expect: Expect, expected: Regex) = _matches(expect, expected)

    override fun  mismatches(expect: Expect, expected: Regex) = _mismatches(expect, expected)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy