doc / ch.tutteli.atrium.domain.builders.creating / PathAssertionsBuilder

PathAssertionsBuilder

object PathAssertionsBuilder : PathAssertions

Delegates inter alia to the implementation of PathAssertions. In detail, it implements PathAssertions by delegating to pathAssertions which in turn delegates to the implementation via loadSingleService.

Functions

endsNotWith

fun <T : Path> endsNotWith(expect: Expect<T>, expected: Path): Assertion

endsWith

fun <T : Path> endsWith(expect: Expect<T>, expected: Path): Assertion

exists

fun <T : Path> exists(expect: Expect<T>): Assertion

existsNot

fun <T : Path> existsNot(expect: Expect<T>): Assertion

extension

fun <T : Path> extension(expect: Expect<T>): ExtractedFeaturePostStep<T, String>

fileName

fun <T : Path> fileName(expect: Expect<T>): ExtractedFeaturePostStep<T, String>

fileNameWithoutExtension

fun <T : Path> fileNameWithoutExtension(expect: Expect<T>): ExtractedFeaturePostStep<T, String>

isDirectory

fun <T : Path> isDirectory(expect: Expect<T>): Assertion

isReadable

fun <T : Path> isReadable(expect: Expect<T>): Assertion

isRegularFile

fun <T : Path> isRegularFile(expect: Expect<T>): Assertion

isWritable

fun <T : Path> isWritable(expect: Expect<T>): Assertion

parent

fun <T : Path> parent(expect: Expect<T>): ExtractedFeaturePostStep<T, Path>

startsNotWith

fun <T : Path> startsNotWith(expect: Expect<T>, expected: Path): Assertion

startsWith

fun <T : Path> startsWith(expect: Expect<T>, expected: Path): Assertion