doc / ch.tutteli.atrium.api.fluent.en_GB / isWritable

isWritable

fun <T : Path> Expect<T>.isWritable(): Expect<T> (source)
Deprecated: Use toBeWritable; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a Path) is writable; meaning that there is a file system entry at the location the Path points to and that the current thread has the permission to write to it.

This assertion resolves symbolic links. Therefore, if a symbolic link exists at the location the subject points to, search will continue at the location the link points at.

Return
an Expect for the subject of this expectation.

Since
0.9.0