doc / ch.tutteli.atrium.api.infix.en_GB / resolve

resolve

infix fun <T : Path> Expect<T>.resolve(other: String): Expect<Path> (source)

Expects that other resolves against this Path and creates an Expect for the resolved Path so that further fluent calls are assertions about it.

Return
The newly created Expect for the extracted feature.

Since
0.12.0

infix fun <T : Path> Expect<T>.resolve(path: PathWithCreator<Path>): Expect<T> (source)

Expects that PathWithCreator.path resolves against this Path, that the resolved Path holds all assertions the given PathWithCreator.assertionCreator creates for it and returns an Expect for the current subject of this expectation.

Use the function path(String) { ... } to create a PathWithCreator.

Return
The newly created Expect for the extracted feature.

Since
0.12.0